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

Module protocol should log messages about invalid class characters at the same level as policy

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: 3.12.1, 3.13.0
    • Fix Version/s: 3.10.6, 3.14.0, 3.12.2
    • Component/s: cf-agent, Logging
    • Labels:
      None

      Description

      Policy emits a message about illegial characters in classes in VERBOSE

       verbose: Class identifier 'my-invalid-class' contains illegal characters - canonifying
      

      The module protocol not automatically canonifies classes (since CFE-2887), but it still warns about invalid class characters loudly.

       warning: Module protocol contained an illegal character '@' in class/variable identifier 'invalid-class@module'.
      

      To align the module behavior with the policy, the message should be emitted at the same log level.

        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