hedulerx.schedulerx-client.2.100.1.source-code.inner-schedulerx-logback.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="schedulerxDefaultAppender" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>${user.home}/logs/schedulerx-log/schedulerx.log</file> <append>true</append> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <fileNamePattern> ${user.home}/logs/schedulerx-log/schedulerx.%i.log.gz </fileNamePattern> <minIndex>1</minIndex> <maxIndex>2</maxIndex> </rollingPolicy> <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>100MB</maxFileSize> </triggeringPolicy> <encoder> <pattern>%d %p %t -%m %c%L %n</pattern> <charset class="java.nio.charset.Charset">UTF-8</charset> </encoder> </appender> <appender name="schedulerxExecuteAppender" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>${user.home}/logs/schedulerx-log/execute.log</file> <append>true</append> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <fileNamePattern> ${user.home}/logs/schedulerx-log/execute.%i.log.gz </fileNamePattern> <minIndex>1</minIndex> <maxIndex>2</maxIndex> </rollingPolicy> <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>100MB</maxFileSize> </triggeringPolicy> <encoder> <pattern>%d %p %t -%m%n</pattern> <charset class="java.nio.charset.Charset">UTF-8</charset> </encoder> </appender> <appender name="schedulerxExecuteASYNC" class="ch.qos.logback.classic.AsyncAppender"> <discardingThreshold >0</discardingThreshold> <queueSize>12288</queueSize> <appender-ref ref="schedulerxExecuteAppender"/> </appender> <appender name="schedulerxDefaultASYNC" class="ch.qos.logback.classic.AsyncAppender"> <discardingThreshold >0</discardingThreshold> <queueSize>12288</queueSize> <appender-ref ref="schedulerxDefaultAppender"/> </appender> <logger name="schedulerx-execute" additivity="false"> <level value="${executeLogLevel}" /> <appender-ref ref="schedulerxExecuteASYNC" additivity="false" /> </logger> <logger name="schedulerx-default" additivity="false"> <level value="${defaultLogLevel}" /> <appender-ref ref="schedulerxDefaultAppender" additivity="false" /> </logger> <!--<root level="${defaultLogLevel}">--> <!--<appender-ref ref="schedulerxDefaultASYNC" />--> <!--</root>--> </configuration>