From c7f65f6403f23c80f299919a9edf558406eece04 Mon Sep 17 00:00:00 2001 From: Sebastian Thomschke Date: Sun, 8 Oct 2017 22:39:16 +0200 Subject: [PATCH] Honor logging.path config in Appenders.RollingFile.filePattern On roll-over files are currently always written to logs/. This PR ensures that rotated logs are written into the directory specified in the application config's logging.path property. --- .../org/springframework/boot/logging/log4j2/log4j2-file.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/log4j2/log4j2-file.xml b/spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/log4j2/log4j2-file.xml index fe763e646829..04ad144c01e6 100644 --- a/spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/log4j2/log4j2-file.xml +++ b/spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/log4j2/log4j2-file.xml @@ -11,7 +11,7 @@ - + ${sys:FILE_LOG_PATTERN}