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

Default logger with full output #135

Open
Thomasillo opened this issue Feb 11, 2022 · 0 comments
Open

Default logger with full output #135

Thomasillo opened this issue Feb 11, 2022 · 0 comments

Comments

@Thomasillo
Copy link

Thomasillo commented Feb 11, 2022

It would be nice to have a default formatter (Inheriting from JsonFormatter) which includes all possible logRecord fields in the formatted json without the need to specify them explicitly..
This way you don't have to specify all field names manually in your logging configuration.
Which is also not advantageous because you have two sources of truth then (your configuration file and pythonjsonlogger resp the stdlib logging module.).

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