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

Allow switching to structured logging #370

Open
abeluck opened this issue Nov 9, 2023 · 2 comments
Open

Allow switching to structured logging #370

abeluck opened this issue Nov 9, 2023 · 2 comments

Comments

@abeluck
Copy link

abeluck commented Nov 9, 2023

The codebase already uses zerolog which provides structured logging, but it's currently hardcoded to use the ConsoleWriter.

It would be great to add an env var flag to switch to structured logging for production deployments.

@jclulow
Copy link

jclulow commented Jan 30, 2024

I suspect this is related to or a duplicate of #331.

@dougluce
Copy link

If #420 gets merged in, JSON logging should be a quick fix.

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

3 participants