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

Make verbose logging of kept copy_from more specific

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: Logging
    • Labels:
      None

      Description

      I think the verbose logging when troubleshooting copy_from promises could be more helpful if it told me what the source was.

      This is the output I get from 3.6 beta
      <pre>
      2014-05-22T17:03:02+0000 verbose: /default/service_catalogue/files/'/tmp/newfile'[0]: File '/tmp/newfile' is an up to date copy of source
      </pre>

      It would be great if it instead looked like this.
      <pre>
      2014-05-22T17:03:02+0000 verbose: /default/service_catalogue/files/'/tmp/newfile'[0]: File '/tmp/newfile' is an up to date copy of source '/tmp/sourcefile'
      </pre>

      And for a remote copy
      <pre>
      2014-05-22T17:03:02+0000 verbose: /default/service_catalogue/files/'/tmp/newfile'[0]: File '/tmp/newfile' is an up to date copy of source '/tmp/sourcefile' from '192.168.1.2'
      </pre>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10003 Eystein Maloy Stenberg
                Reporter:
                a10042 Nick Anderson
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel