Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-19228

loggy.py inconsistent handling of paths to scan

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Fix Version/s: None
    • Component/s: Monitoring
    • Labels:
      None
    • Project:
      Infrastructure

      Description

      loggy.py contains the global variable:

      paths = ['/var/log/', '/x1/log']

      The 'Linux' code ignores this, and uses the code:

      for path in config.get('Analyzer','paths').split(","):

      whereas the 'FreeBSD' part of the code uses:

      for path in paths:

      Furthermore, the 'paths' definitions in loggy.cfg are not consistent.

      The original Puppet code has:
      paths: /var/log/, /x1/log/, /x1/apache2/
      whereas P-6 has
      paths: /var/log/, /x1/log/

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: