更新日志的配置

This commit is contained in:
YuCheng Hu 2023-04-07 16:29:12 -04:00
parent aa078302ef
commit 7e26f8377d
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
<prudent>true</prudent> <prudent>true</prudent>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover --> <!-- daily rollover -->
<fileNamePattern>/var/log/usvisatrack/%d{yyyy-MM-dd}/debug/debug.log</fileNamePattern> <fileNamePattern>/var/log/sharkfly-wechat-service/%d{yyyy-MM-dd}/debug/debug.log</fileNamePattern>
<!-- keep 30 days' worth of history capped at 3GB total size --> <!-- keep 30 days' worth of history capped at 3GB total size -->
<maxHistory>30</maxHistory> <maxHistory>30</maxHistory>
@ -44,7 +44,7 @@
</filter> </filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover --> <!-- daily rollover -->
<fileNamePattern>/var/log/usvisatrack/%d{yyyy-MM-dd}/error/error.log</fileNamePattern> <fileNamePattern>/var/log/sharkfly-wechat-service/%d{yyyy-MM-dd}/error/error.log</fileNamePattern>
<!-- keep 30 days' worth of history capped at 3GB total size --> <!-- keep 30 days' worth of history capped at 3GB total size -->
<maxHistory>30</maxHistory> <maxHistory>30</maxHistory>