Browse Source

Align test logging config with latest change in Spring Framework

See spring-projects/spring-framework@ea5cb26d750f
pull/8703/merge
Andy Wilkinson 9 years ago
parent
commit
858bd8554d
  1. 2
      spring-boot/src/test/java/org/springframework/boot/context/config/ConfigFileApplicationListenerTests.java

2
spring-boot/src/test/java/org/springframework/boot/context/config/ConfigFileApplicationListenerTests.java

@ -457,7 +457,7 @@ public class ConfigFileApplicationListenerTests { @@ -457,7 +457,7 @@ public class ConfigFileApplicationListenerTests {
}
private void withDebugLogging(Runnable runnable) {
LoggerContext loggingContext = (LoggerContext) LogManager.getContext(true);
LoggerContext loggingContext = (LoggerContext) LogManager.getContext(false);
org.apache.logging.log4j.core.config.Configuration configuration = loggingContext
.getConfiguration();
configuration.addLogger(ConfigFileApplicationListener.class.getName(),

Loading…
Cancel
Save