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 have several sections in my debug wrapped in the logger.isDebugEnabled()
What I noticed is that setting the log level to debug through the env var LOG_LEVEL causes these log lines not to appear. This seems like a bug to me.
Thanks @asmith-r7 For reporting the issue. I did some digging and Can see that the LOG_LEVEL env variable gets overridden by system property back to INFO.
Which means that either we will have to find another name for our environment variable to be something like POWERTOOLS_LOG_LEVEL instead. Something like this
or we will have to support it via java tool options via
JAVA_TOOL_OPTIONS: -DLOG_LEVEL=DEBUG.
In terms of user experience, I believe having a different environment variable names is better than the later.
I have several sections in my debug wrapped in the logger.isDebugEnabled()
What I noticed is that setting the log level to debug through the env var LOG_LEVEL causes these log lines not to appear. This seems like a bug to me.
Expected Behavior
isDebugEnabled should return true.
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Environment
The text was updated successfully, but these errors were encountered: