python-json-logger icon indicating copy to clipboard operation
python-json-logger copied to clipboard

Default logger with full output

Open Thomasillo opened this issue 3 years ago • 0 comments

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.).

Thomasillo avatar Feb 11 '22 09:02 Thomasillo