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

Add support for JSON logs #406

Closed
icco opened this issue Jun 15, 2023 · 3 comments
Closed

Add support for JSON logs #406

icco opened this issue Jun 15, 2023 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@icco
Copy link

icco commented Jun 15, 2023

I would love if there were a JSON log formatting option. Logs are currently plain strings which can be hard to dynamically parse with some services.

@icco icco added the enhancement New feature or request label Jun 15, 2023
@manugarg
Copy link
Contributor

#462 may fix this. Not committed yet.

@manugarg manugarg added this to the v0.12.9 milestone Aug 16, 2023
@manugarg
Copy link
Contributor

manugarg commented Aug 16, 2023

@icco This is done in the code in the repo. You can use the flag --logfmt=json flag to export logs in JSON format.

Ways to use this unreleased version: "main" docker tag, or the "tip" release. It will go out in the v0.12.9 release, later this month.

@icco
Copy link
Author

icco commented Aug 22, 2023

Thanks we're rolling it out today!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants