Commit f1269419 by 章家宝

feat:日志目录

1 parent aec41828
......@@ -18,7 +18,7 @@
<!--滚动策略-->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!--路径-->
<fileNamePattern>${LOG_DIR}/aus-inspector/all%d.log</fileNamePattern>
<fileNamePattern>${LOG_DIR}/aud-vr-api/all%d.log</fileNamePattern>
<maxHistory>40</maxHistory>
</rollingPolicy>
</appender>
......@@ -27,14 +27,14 @@
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>ERROR</level>
</filter>
<file>${LOG_DIR}/aus-inspector/error.log</file>
<file>${LOG_DIR}/aud-vr-api/error.log</file>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss SSS} [%thread] %logger{36} - %msg%n</pattern>
</encoder>
<!--滚动策略-->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!--路径-->
<fileNamePattern>${LOG_DIR}/aus-inspector/error%d.log</fileNamePattern>
<fileNamePattern>${LOG_DIR}/aud-vr-api/error%d.log</fileNamePattern>
<maxHistory>40</maxHistory>
</rollingPolicy>
</appender>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!