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

Documentation: log modules

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 3.10.4
    • Fix Version/s: None
    • Component/s: Documentation, Logging
    • Labels:
      None

      Description

      Hi folks,

      cf-agent and cf-promises have a new switch since 3.10.0:

      --log-modules, - value
      Enable even more detailed debug logging for specific areas of the implementation. Use together with
      ’-d’. Use --log-modules=help for a list of available modules

      Here is the built-in help:

      --log-modules accepts a comma separated list of one or more of the following:

      help
      all
      evalctx
      expand
      iterations
      parser
      vartable
      vars
      locks
      ps

      This could be quite useful... However, I don't see any documentation on log-modules. (CFE-147 has an example of the "vars" log-module.)

      Could you please document these or at least expand the built-in help to add a one-line description of each module?

      Some of the names are obvious – like "vars" probably has to do with variables – but then what's "vartable"? And "parser" seems pretty generic, isn't it all to do with the parser? Anyway, a short description of each module would be a good start, hey?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              atsaloli Aleksey Tsalolikhin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel