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

Support for JSON log format #905

Open
wavermartijn opened this issue Jun 25, 2024 · 0 comments
Open

Support for JSON log format #905

wavermartijn opened this issue Jun 25, 2024 · 0 comments

Comments

@wavermartijn
Copy link

When running karapace in a container on a platform that includes centralized logging, it would be helpful to be able to output the logs formatted as JSON. I tried doing this with the KARAPACE_LOG_FORMAT option. This works for most of the log lines, but some log lines include double quotes and these will then corrupt the outputted JSON.

Native JSON output or at least a way to use the log_format to generate valid JSON would help a lot to be able to ingest the logs.

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

No branches or pull requests

1 participant