From 3de25164527f5011df4ea2c889794a7c72bcf5ce Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 8 Jul 2015 14:38:20 -0700 Subject: [PATCH] Tweak LoggingApplicationListener order Provide additional space between the ConfigFileApplicationListener order and the LoggingApplicationListener order. Fixes gh-2543 --- .../boot/logging/LoggingApplicationListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java b/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java index 9c67a3debd..d89783a947 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java @@ -109,7 +109,7 @@ public class LoggingApplicationListener implements GenericApplicationListener { private LoggingSystem loggingSystem; - private int order = Ordered.HIGHEST_PRECEDENCE + 11; + private int order = Ordered.HIGHEST_PRECEDENCE + 20; private boolean parseArgs = true;