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 single-line json as log format #1842

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

czenker
Copy link

@czenker czenker commented Nov 25, 2024

Also introduces a structure to add more log formats should the need arise. Does not change the default of logging prettified json.

Description

Log Shippers are usually less complex and less error-prone when they only have to handle single-line logs. This PR adds the ability to change the log format to single-line json, but does not change the default multi-line json.

Checklist

  • PR is rebased to/aimed at branch develop
  • PR follows Contributing Guide
  • Added tests (if necessary)
  • Extended README/Documentation (if necessary)
  • Adjusted versions of image and Helm chart in Chart.yaml (if necessary)

Also introduces a structure to add more log formats should the need
arise. Does not change the default of logging prettified json.

Signed-off-by: Christian Zenker <[email protected]>
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.

1 participant