Skip to content

Commit

Permalink
Align default log levels for Log4j2 and Logback
Browse files Browse the repository at this point in the history
Fixes gh-21293
  • Loading branch information
mbhave committed Jun 11, 2020
1 parent 3fe4fb1 commit 92ce94b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ private void base(LogbackConfigurator config) {
config.logger("org.apache.tomcat.util.net.NioSelectorPool", Level.WARN);
config.logger("org.eclipse.jetty.util.component.AbstractLifeCycle", Level.ERROR);
config.logger("org.hibernate.validator.internal.util.Version", Level.WARN);
config.logger("org.springframework.boot.actuate.endpoint.jmx", Level.WARN);
}

private Appender<ILoggingEvent> consoleAppender(LogbackConfigurator config) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ Default logback configuration provided for import
<logger name="org.apache.tomcat.util.net.NioSelectorPool" level="WARN"/>
<logger name="org.eclipse.jetty.util.component.AbstractLifeCycle" level="ERROR"/>
<logger name="org.hibernate.validator.internal.util.Version" level="WARN"/>
<logger name="org.springframework.boot.actuate.endpoint.jmx" level="WARN"/>
</included>

0 comments on commit 92ce94b

Please sign in to comment.