[b]"How to properly configure Python logging using dictConfig with JSON?"[/b] or [b]"Best practices for setting up

14 Replies, 756 Views

Wow, thanks for all the replies!

Tried the JSON snippet with the console handler, and it *finally* works. Still gotta tweak the formatters, but this is way better.

Quick Q: How do you handle *multiple* loggers with different levels in the same config? Like, I want DEBUG for my app but WARNING for `requests`.

Also, `logging_tree` looks dope—def gonna try that next.

(And yeah, `loguru` keeps popping up... might cave soon 😆)

Messages In This Thread



Users browsing this thread: 1 Guest(s)