-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unwanted logging by StatusLogger #3100
Comments
The following lines are logged at the start:
And these at the end:
|
Hi @morvael, The default status logger level in version
|
I will re-verify but I actually tried to use any and all of them to change the log level to WARN and nothing changed, it still printed that INFO. |
I have no guarantee though that some of the dependencies I use doesn't do one of those things :( |
@morvael, could you try putting a breakpoint to the |
Ok, it seems I'm going through that code twice actually. And in the second one I'm doing code-based rebuild of configuration to configure some stuff in the code (this is for test programs) like in the old log4j. And I have the line there: So I think we can close the issue, though I still don't know why now and not before. |
Sorry for false report. |
Perhaps in the old version StatusLogger wasn't rebuilt. |
That is easy to explain: I increased the level of those lifecycle messages in #3043 to make them more useful. The start and stop events of a
No problem. |
Description
I think after the changes in 4e00ea4 I can now observe logging from org.apache.logging.log4j.core.config.AbstractConfiguration ("Starting configuration...", "Start watching for changes to...", etc) which were previously hidden by default. I think that logger used to by WARN by default, now it's INFO by default.
Configuration
Version: 2.24.1
Operating system: Linux Mint 21.3
JDK: Adoptium 21.0.4+7
The text was updated successfully, but these errors were encountered: