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

Agent does not warn when given invalid log_level

    XMLWordPrintable

    Details

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

      Description

      <pre>
      bundle agent example
      {
      commands:
      "/bin/echo"
      args => "foobar",
      action => log_level("sniffels");
      }
      body action log_level
      {
      log_level => "$";
      }
      </pre>

      [root@hub masterfiles]# cf-agent -KIf ./promises.cf -b example
      <pre>
      2014-05-27T19:48:49+0000 info: Using command line specified bundlesequence
      2014-05-27T19:48:49+0000 info: /default/example/commands/'/bin/echo'[0]: Executing 'no timeout' ... '/bin/echo foobar'
      2014-05-27T19:48:49+0000 notice: /default/example/commands/'/bin/echo'[0]: Q: ".../bin/echo fooba": foobar

      2014-05-27T19:48:49+0000 info: /default/example/commands/'/bin/echo'[0]: Last 1 quoted lines were generated by promiser '/bin/echo foobar'
      2014-05-27T19:48:49+0000 info: /default/example/commands/'/bin/echo'[0]: Completed execution of '/bin/echo foobar'
      </pre>

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Summary Panel