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
When using log4j2 and I set the log level in application.properties for a logger that is not explicitly configured in log4j2 configuration file it actually changes its parent logger level (in worst case the root logger level).
The text was updated successfully, but these errors were encountered:
tsachev
added a commit
to tsachev/spring-boot
that referenced
this issue
Jul 19, 2015
…at is not configured.
Seems that Configuration#getLoggerConfig(String) will return the parent configuration if th specified logger name is not explicitly configured in log4j2 configuration. And setting the log level will change some parent logger level.
For that reason a new additive LoggerConfig has to be created for the specified logger and then added to the configuration.
Fixesspring-projectsgh-3550
When using log4j2 and I set the log level in
application.properties
for a logger that is not explicitly configured in log4j2 configuration file it actually changes its parent logger level (in worst case the root logger level).The text was updated successfully, but these errors were encountered: