From 4aac1e3f90578b08b9f9d3ee67bdb7a05b0f191e Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 21 Dec 2016 12:11:49 -0800 Subject: [PATCH] Refine LoggingApplicationListenerTests Update the Tomcat logging test to be more like the real scenario. See gh-7639 --- .../boot/logging/LoggingApplicationListenerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot/src/test/java/org/springframework/boot/logging/LoggingApplicationListenerTests.java b/spring-boot/src/test/java/org/springframework/boot/logging/LoggingApplicationListenerTests.java index 88ecce59ff..14b28c84a0 100644 --- a/spring-boot/src/test/java/org/springframework/boot/logging/LoggingApplicationListenerTests.java +++ b/spring-boot/src/test/java/org/springframework/boot/logging/LoggingApplicationListenerTests.java @@ -167,7 +167,7 @@ public class LoggingApplicationListenerTests { @Test public void tomcatNopLoggingConfigDoesNotCauseAFailure() throws Exception { TestPropertySourceUtils.addInlinedPropertiesToEnvironment(this.context, - "logging.config: -Dnop"); + "LOGGING_CONFIG: -Dnop"); this.initializer.initialize(this.context.getEnvironment(), this.context.getClassLoader()); this.logger.info("Hello world");