-
Notifications
You must be signed in to change notification settings - Fork 52
only include root logger name in non-debug mode #223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
what does this change? |
|
sorry, didn't read the description 😄 |
|
test this please |
|
In the case of EasyBuild (where instead of this: If |
|
Please hold off merging this a little bit, since this breaks some nasty bit of code |
|
Jenkins: test this please |
|
One or more tests FAILed. See https://jenkins1.ugent.be/job/vsc-base-prbuilder/23/console for more details. |
|
All tests PASSed. See https://jenkins1.ugent.be/job/vsc-base-prbuilder/25/console for more details. |
|
OK, this is not going to work, apparently the root logger name is key, even under I'll figure out another way to get rid of the "not available in debug mode" in the EB logs. |
|
superior solution in EB is to simply not include the logger name, but log location instead: easybuilders/easybuild-framework#1649 |
getRootLoggerName()always returns "not available in optimized mode" when it is run underpython -O(i.e., when__debug__isFalse), so it makes no sense to include it to construct the "full logger name"