<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="10000" debug="false">
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator">
<resetJUL>true</resetJUL>
</contextListener>
<jmxConfigurator/>
<appender name="monitorFile"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.dir}/logs/nono-web-monitor.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${log.dir}/logs/nono-web-monitor.%d{yyyy-MM-dd}.log.zip
</fileNamePattern>
</rollingPolicy>
<encoder>
<pattern>%date %-5level|%-40.40logger{0}|%msg%n</pattern>
</encoder>
</appender>
<logger name="com.dzy.welfare" level="INFO" additivity="false">
<appender-ref ref="welfareFile"/>
</logger>
<logger name="org.springframework.data" level="INFO"/>
<logger name="org.apache.tomcat.util" level="ERROR"/>
<logger name="org.eclipse.jetty.util" level="ERROR"/>
<logger name="org.eclipse.jetty.http" level="ERROR"/>
<logger name="org.eclipse.jetty.annotations" level="ERROR"/>
<logger name="org.eclipse.jetty.webapp" level="ERROR"/>
<logger name="org.springframework.beans" level="INFO"/>
<logger name="JPM.Service" level="TRACE" additivity="false">
<appender-ref ref="monitorFile"/>
</logger>
<logger name="JPM.Repository" level="TRACE" additivity="false">
<appender-ref ref="monitorFile"/>
</logger>
<logger name="org.apache.activemq" level="ERROR" additivity="false">
<appender-ref ref="monitorFile"/>
</logger>
<root level="INFO">
<appender-ref ref="monitorFile"/>
<appender-ref ref="creditFile"/>
</root>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
</configuration>