更改日志级别
This commit is contained in:
parent
c6459d11e1
commit
0e454011ef
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue