更改日志级别

This commit is contained in:
wangwei10061 2018-04-23 18:43:56 +08:00
parent c6459d11e1
commit 0e454011ef
1 changed files with 1 additions and 3 deletions

View File

@ -3,7 +3,6 @@
<property name="log_path" value="/home/ww/tomcat-bridge/logs/"/>
<appender name="bridge" class="ch.qos.logback.core.rolling.RollingFileAppender">
<Encoding>UTF-8</Encoding>
<encoder>
<pattern>%d{MM-dd HH:mm:ss} [%thread] %-5level -- %msg%n</pattern>
</encoder>
@ -11,7 +10,7 @@
<level>DEBUG</level>
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${log_path}%d{MM-dd}.log</fileNamePattern>
<fileNamePattern>${log_path}bridge.%d{yyyy-MM-dd}.log</fileNamePattern>
</rollingPolicy>
</appender>
@ -25,7 +24,6 @@
<root>
<level value="DEBUG"/>
<!--<appender-ref ref="TPM"/>-->
<appender-ref ref="bridge"/>
</root>