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

Timestamp not displayed with error about policy not being runnable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Rejected
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Logging
    • Labels:
      None

      Description

      When policy is executed that does not have a body common control, the error does not include the timestamp on the first message.

      hello_world.cf:
      > bundle agent hello_world
      >

      { > reports: > "hi"; > }

      Output:
      > cf-agent -Kf ./hello_world.cf
      > :0:0: error: Policy is not runnable (does not contain a body common control)
      > 2013-10-15T21:02:06-0700 error: Policy failed validation with command '"/home/cmdln/.cfagent/bin/cf-promises" -c "./hello_world.cf"'

        Attachments

          Activity

            People

            • Assignee:
              a10025 Volker Hilsheimer (Inactive)
              Reporter:
              a10042 Nick Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel