Skip to content

Commit 273defd

Browse files
committed
Merge branch '1.5.x'
2 parents f81a113 + 5acd6c4 commit 273defd

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/log4j2

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/log4j2/log4j2-file.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<Console name="Console" target="SYSTEM_OUT" follow="true">
1212
<PatternLayout pattern="${sys:CONSOLE_LOG_PATTERN}" />
1313
</Console>
14-
<RollingFile name="File" fileName="${sys:LOG_FILE}" filePattern="logs/$${date:yyyy-MM}/app-%d{yyyy-MM-dd-HH}-%i.log.gz">
14+
<RollingFile name="File" fileName="${sys:LOG_FILE}" filePattern="${sys:LOG_PATH}/$${date:yyyy-MM}/app-%d{yyyy-MM-dd-HH}-%i.log.gz">
1515
<PatternLayout>
1616
<Pattern>${sys:FILE_LOG_PATTERN}</Pattern>
1717
</PatternLayout>

0 commit comments

Comments
 (0)