Align test logging config with latest change in Spring Framework

See spring-projects/spring-framework@ea5cb26d75
This commit is contained in:
Andy Wilkinson 2017-04-10 09:39:05 +01:00
parent bf333b7e4e
commit 858bd8554d
1 changed files with 1 additions and 1 deletions

View File

@ -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(),