...
|
...
|
@@ -22,14 +22,14 @@ |
|
|
</appender>
|
|
|
|
|
|
<appender name="WARN" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>/Data_new/monitor_logs/warn.log</file>
|
|
|
<file>/Data_new/monitor_logs/uilog/warn.log</file>
|
|
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
|
|
<level>WARN</level>
|
|
|
</filter>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>
|
|
|
/Data_new/monitor_logs/warn.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
/Data_new/monitor_logs/uilog/warn.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
...
|
...
|
@@ -45,14 +45,14 @@ |
|
|
|
|
|
<!-- DEBUG级别日志 appender -->
|
|
|
<appender name="DEBUG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>/Data_new/monitor_logs/debug.log</file>
|
|
|
<file>/Data_new/monitor_logs/uilog/debug.log</file>
|
|
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
|
|
<level>INFO</level>
|
|
|
</filter>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- 按天回滚 daily -->
|
|
|
<fileNamePattern>
|
|
|
/Data_new/monitor_logs/debug.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
/Data_new/monitor_logs/uilog/debug.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
...
|
...
|
@@ -68,14 +68,14 @@ |
|
|
|
|
|
<!-- 按照每天生成日志文件 -->
|
|
|
<appender name="APP_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>/Data_new/monitor_logs/app.log</file>
|
|
|
<file>/Data_new/monitor_logs/uilog/app.log</file>
|
|
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
|
|
<level>INFO</level>
|
|
|
</filter>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- 按天回滚 daily -->
|
|
|
<fileNamePattern>
|
|
|
/Data_new/monitor_logs/app.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
/Data_new/monitor_logs/uilog/app.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
...
|
...
|
@@ -92,14 +92,14 @@ |
|
|
|
|
|
<!-- 按照每天生成日志文件 -->
|
|
|
<appender name="BAN_IP_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>/Data_new/monitor_logs/banIP.log</file>
|
|
|
<file>/Data_new/monitor_logs/uilog/banIP.log</file>
|
|
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
|
|
<level>INFO</level>
|
|
|
</filter>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- 按天回滚 daily -->
|
|
|
<fileNamePattern>
|
|
|
/Data_new/monitor_logs/banIP.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
/Data_new/monitor_logs/uilog/banIP.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
...
|
...
|
@@ -135,14 +135,14 @@ |
|
|
|
|
|
<!-- 按照每天生成日志文件 -->
|
|
|
<appender name="API_TEST_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>/Data_new/monitor_logs/apiTest.log</file>
|
|
|
<file>/Data_new/monitor_logs/uilog/apiTest.log</file>
|
|
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
|
|
<level>INFO</level>
|
|
|
</filter>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- 按天回滚 daily -->
|
|
|
<fileNamePattern>
|
|
|
/Data_new/monitor_logs/apiTest.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
/Data_new/monitor_logs/uilog/apiTest.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
...
|
...
|
|