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
We want to add a tutorial exaplining how to set the log level of specific loggers within our codebase.
@vmarkovtsev I forgot how to set environment variables to target specific loggers. For example if my logger name is lib.module I would like to run my app so that the logging level defaults to INFO for all loggers except this one, that should be DEBUG.
We want to add a tutorial exaplining how to set the log level of specific loggers within our codebase.
@vmarkovtsev I forgot how to set environment variables to target specific loggers. For example if my logger name is
lib.module
I would like to run my app so that the logging level defaults toINFO
for all loggers except this one, that should beDEBUG
.I remember it was something like
LOG_LEVEL=INFO "lib.module.log_level=DEBUG" python my_script.py
Do you remember how it was done? I would like to add an example to the docs so I don't forget again.
The text was updated successfully, but these errors were encountered: