Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-61947

[RFE] Add methods to define and set up custom templates in the logging role of RHEL systems roles

    • rhel-system-roles-1.90.0-0.1.el9
    • None
    • rhel-sst-system-roles
    • 0
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Enhancement
    • Hide
      .New variable in the `logging` RHEL system role: `logging_custom_templates`

      The following variable has been added to the `logging` RHEL system role:

      * `logging_custom_templates`: A list of custom template definitions. You can use it with the `logging_outputs` variable when its option is `type: files` or `type: forwards`. You can specify this custom template for each output by setting the `template` option in a particular `logging_outputs` specification. Alternatively, you can set this custom template to be used by default for all files and forwards outputs by using the `logging_files_template_format` and `logging_forwards_template_format` global options.

      As a result, you can format log entries differently than what the built-in defaults provide.

      For more details, see the resources in the `/usr/share/doc/rhel-system-roles/logging/` directory.
      Show
      .New variable in the `logging` RHEL system role: `logging_custom_templates` The following variable has been added to the `logging` RHEL system role: * `logging_custom_templates`: A list of custom template definitions. You can use it with the `logging_outputs` variable when its option is `type: files` or `type: forwards`. You can specify this custom template for each output by setting the `template` option in a particular `logging_outputs` specification. Alternatively, you can set this custom template to be used by default for all files and forwards outputs by using the `logging_files_template_format` and `logging_forwards_template_format` global options. As a result, you can format log entries differently than what the built-in defaults provide. For more details, see the resources in the `/usr/share/doc/rhel-system-roles/logging/` directory.
    • Done
    • None

      [RFE] Add methods to define and set up custom templates in the logging role of RHEL systems roles

       

      The logging module for rhel system roles lacks the ability to define and setup custom rsyslog templates, the only available options are "traditional","syslog" and "modern"

      A custom template is required to be set instead of the listed above.

              rmeggins@redhat.com Richard Megginson
              rhn-support-jgamba Juan Gamba
              Richard Megginson Richard Megginson
              David Jez David Jez
              Jaroslav Klech Jaroslav Klech
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: