We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0d9adc + 7441d6b commit 5acd6c4Copy full SHA for 5acd6c4
spring-boot/src/main/resources/org/springframework/boot/logging/log4j2/log4j2-file.xml
@@ -11,7 +11,7 @@
11
<Console name="Console" target="SYSTEM_OUT" follow="true">
12
<PatternLayout pattern="${sys:CONSOLE_LOG_PATTERN}" />
13
</Console>
14
- <RollingFile name="File" fileName="${sys:LOG_FILE}" filePattern="logs/$${date:yyyy-MM}/app-%d{yyyy-MM-dd-HH}-%i.log.gz">
+ <RollingFile name="File" fileName="${sys:LOG_FILE}" filePattern="${sys:LOG_PATH}/$${date:yyyy-MM}/app-%d{yyyy-MM-dd-HH}-%i.log.gz">
15
<PatternLayout>
16
<Pattern>${sys:FILE_LOG_PATTERN}</Pattern>
17
</PatternLayout>
0 commit comments