Browse Source

修改日志配置文件

master
wanghaoran 2 years ago
parent
commit
71ffe3d685
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tuoheng-admin/src/main/resources/logback.xml

+ 2
- 2
tuoheng-admin/src/main/resources/logback.xml View File

@@ -7,11 +7,11 @@
</appender>

<appender name="rollingFile" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>/data/java/logs/tuoheng_5gbox/tuoheng_5gbox.log</file>
<file>/data/java/logs/tuoheng_hhz_tenant/tuoheng_hhz_tenant.log</file>
<!-- <file>/Users/zhuzs/Documents/file/logs/tuoheng_5gai.log</file>-->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- <fileNamePattern>/Users/zhuzs/Documents/file/logs/tuoheng_5gai.log.%d{yyyy-MM-dd}.log</fileNamePattern>-->
<fileNamePattern>/data/java/logs/tuoheng_5gbox/tuoheng_5gbox.%d{yyyy-MM-dd}.log</fileNamePattern>
<fileNamePattern>/data/java/logs/tuoheng_hhz_tenant/tuoheng_hhz_tenant.%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>30</maxHistory>
</rollingPolicy>
<encoder>

Loading…
Cancel
Save