You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am loading logging configuration using logging.dictConfig as a yaml file. I have defined respective filters in the config file, the filters are not added to colored logs.
Usecase:
Stream INFO, WARN and DEBUG to stdout and ERROR and CRITICAL to stderr.
Hi there, thanks for the feedback and sorry for never replying here before now. I've just merged #89 by @eblis which is said to resolve this issue, so please try out release 14.3.
How to add filters to coloredlogs.install()?
Scenario:
I am loading logging configuration using logging.dictConfig as a yaml file. I have defined respective filters in the config file, the filters are not added to colored logs.
Usecase:
Stream INFO, WARN and DEBUG to stdout and ERROR and CRITICAL to stderr.
Code:
Output:
Logging Config: in init.py
YAML Config
The text was updated successfully, but these errors were encountered: