Is it possible to change log levels "on the fly"? #2196
Unanswered
LB-personal
asked this question in
Q&A
Replies: 1 comment
-
Changes in the environment variable are not monitored, so updating the environment variable will not change the logger's log level.
You can do it. Note that environment variables are managed on a per-process basis. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If log level is given by environment variable, and the value of the variable change, will the log level of the logger change as well? and if not, is calling
spdlog::cfg::load_env_levels()
more then once and after loggers where created is supported?Beta Was this translation helpful? Give feedback.
All reactions