Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1656

verbose/error/debug and IP prefix is missing from log output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.0
    • Component/s: Logging
    • Labels:
      None

      Description

      In master, I no longer get the verbose/error/debug prefix on each log line. As a result I can't distinguish the errors.

      <pre>
      2014-08-15T11:29:09+0200 verbose: 10.100.200.109> Received: STAT /srv/cmdb/download/secret_data
      2014-08-15T11:29:09+0200 verbose: 10.100.200.109> Translated to: STAT /srv/cmdb/download/secret_data
      2014-08-15T11:29:09+0200 info: 10.100.200.109> access denied to STAT: /srv/cmdb/download/secret_data
      2014-08-15T11:29:09+0200 verbose: 10.100.200.109> REFUSAL to (user=root,ip=10.100.200.109) of request: SYNCH 1408092429 STAT /srv/cmdb/download/secret_data
      2014-08-15T11:29:09+0200 verbose: 10.100.200.109> Received: STAT /srv/cmdb/download/secret_data2
      2014-08-15T11:29:09+0200 verbose: 10.100.200.109> Translated to: STAT /srv/cmdb/download/secret_data2
      2014-08-15T11:29:09+0200 info: 10.100.200.109> access denied to STAT: /srv/cmdb/download/secret_data2
      </pre>

      versus

      <pre>
      2014-08-15T15:42:33+0200 Received: STAT /srv/cmdb/download/secret_data2
      2014-08-15T15:42:33+0200 Translated to: STAT /srv/cmdb/download/secret_data2
      2014-08-15T15:42:33+0200 info access denied to STAT: /srv/cmdb/download/secret_data2
      2014-08-15T15:42:33+0200 REFUSAL to (user=root,ip=10.100.200.109) of request: SYNCH 1408107633 STAT /srv/cmdb/download/secret_data2
      </pre>

      Assigning to Mark in order to get feedback, as I believe this is related to the new logging that he introduced. Feel free to reassign to the appropriate person.

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              a10038 jimis (Dimitrios Apostolou)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel