Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support custom templates #425

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Conversation

richm
Copy link
Collaborator

@richm richm commented Nov 9, 2024

Feature: Allow users to specify custom templates to use for files and
forwards outputs. Users can specify a list of templates to use with
logging_custom_templates. Users can specify the default template to use for
all files outputs with logging_files_template_format, or specify on a per
output basis by using template. Users can specify the default template to
use for all forwards outputs with logging_forwards_template_format, or
specify on a per output basis by using template.

Reason: Users need the ability to format log entries in different ways other
than the built-in defaults, using custom templates.

Result: Users can specify custom templates to use for files and forwards
outputs.

Signed-off-by: Rich Megginson [email protected]

Feature: Allow users to specify custom templates to use for `files` and
`forwards` outputs.  Users can specify a list of templates to use with
`logging_custom_templates`.  Users can specify the default template to use for
all `files` outputs with `logging_files_template_format`, or specify on a per
output basis by using `template`.  Users can specify the default template to
use for all `forwards` outputs with `logging_forwards_template_format`, or
specify on a per output basis by using `template`.

Reason: Users need the ability to format log entries in different ways other
than the built-in defaults, using custom templates.

Result: Users can specify custom templates to use for files and forwards
outputs.

Signed-off-by: Rich Megginson <[email protected]>
@richm
Copy link
Collaborator Author

richm commented Nov 11, 2024

[citest]

1 similar comment
@richm
Copy link
Collaborator Author

richm commented Nov 11, 2024

[citest]

@richm richm merged commit 011852a into linux-system-roles:main Nov 12, 2024
15 checks passed
@richm richm deleted the custom-template branch November 12, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants