USVT-132 修改日志配置,使用绝对路径下的日志挂载

This commit is contained in:
YuCheng Hu 2023-01-05 07:00:38 -05:00
parent 27fab39b35
commit 0f740d2113
1 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
<prudent>true</prudent>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${user.home}/logs/usreio/%d{yyyy-MM-dd}/usreio-debug.log</fileNamePattern>
<fileNamePattern>/var/log/usvisatrack/%d{yyyy-MM-dd}/debug/debug.log</fileNamePattern>
<!-- keep 30 days' worth of history capped at 3GB total size -->
<maxHistory>30</maxHistory>
@ -44,7 +44,7 @@
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${user.home}/logs/usreio/%d{yyyy-MM-dd}/usreio-error.log</fileNamePattern>
<fileNamePattern>/var/log/usvisatrack/%d{yyyy-MM-dd}/error/error.log</fileNamePattern>
<!-- keep 30 days' worth of history capped at 3GB total size -->
<maxHistory>30</maxHistory>
@ -59,7 +59,7 @@
</appender>
<!-- LOGGER -->
<logger name="com.ossez" level="DEBUG"/>
<logger name="com.northtecom" level="DEBUG"/>
<logger name="org.apache" level="INFO"/>
<logger name="org.hibernate" level="INFO"/>
<logger name="org.springframework" level="INFO"/>