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

Log messages related to commands promises and return code should read more clearly

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: 3.17.0, 3.18.0
    • Fix Version/s: 3.18.0
    • Component/s: cf-agent, Logging
    • Labels:
      None

      Description

      The current log messages don't exactly read clearly.

       
         info: Command related to promiser '/usr/sbin/service nginx start' returned code not defined as promise kept, not kept or repaired; setting to failed: 1
      

      I think this should instead be:

         info: Command related to promiser '/usr/sbin/service nginx start' returned code '1' not defined as promise kept, not kept or repaired; setting to failed
      

        Attachments

          Activity

            People

            • Assignee:
              a10042 Nick Anderson
              Reporter:
              a10042 Nick Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel