From 7f7a109acbbcb2f5ba8d3e22a5b4d1bbe1915c66 Mon Sep 17 00:00:00 2001 From: boriswaguia Date: Thu, 5 May 2016 12:37:09 +0100 Subject: [PATCH] Make it easier to override CONSOLE_LOG_PATTERN when including base.xml Previously, the CONSOLE_LOG_PATTERN property would always be set as a result of base.xml including defaults.xml. This made it hard to override the CONSOLE_LOG_PATTERN as it required a copy and paste of the configuration. This commit updates defaults.xml so that CONSOLE_LOG_PATTERN is only set if it has not already been set. This reduces the configuration to customize the console log pattern to a handful of lines. Closes gh-5632 Closes gh-5867 --- .../org/springframework/boot/logging/logback/defaults.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-boot/src/main/resources/org/springframework/boot/logging/logback/defaults.xml b/spring-boot/src/main/resources/org/springframework/boot/logging/logback/defaults.xml index 58ce0d7ea04..70af71b4518 100644 --- a/spring-boot/src/main/resources/org/springframework/boot/logging/logback/defaults.xml +++ b/spring-boot/src/main/resources/org/springframework/boot/logging/logback/defaults.xml @@ -9,8 +9,7 @@ initialization performed by Boot - - +