浏览代码

修改日志配置文件

master
wanghaoran 2 年前
父节点
当前提交
71ffe3d685
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      tuoheng-admin/src/main/resources/logback.xml

+ 2
- 2
tuoheng-admin/src/main/resources/logback.xml 查看文件

@@ -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>

正在加载...
取消
保存