<?xml version="1.0" encoding="UTF-8"?> sdkCommon
<root level="INFO">
<appender-ref ref="Error" />
<appender-ref ref="Debug" />
<appender-ref ref="Console" />
</root>
</loggers>
<appenders>
<Console name="Console" target="SYSTEM_OUT">
<ThresholdFilter level="trace" onMatch="ACCEPT"
onMismatch="DENY" />
<PatternLayout
pattern="%d{yyyy/MM/dd HH:mm:ss} %level Loc:%c Lines:%L Msg:%msg%xEx%n" />
</Console>
<RollingFile name="Debug"
fileName="../logs/web/${APP_NAME}.log"
filePattern="../logs/web/${APP_NAME}_debug-%d{yyyy-MM-dd}_%i.log">
<ThresholdFilter level="DEBUG" onMatch="ACCEPT"
onMismatch="DENY" />
<PatternLayout
pattern="%d{yyyy/MM/dd HH:mm:ss} %level Loc:%c Lines:%L Msg:%msg%xEx%n" />
<SizeBasedTriggeringPolicy size="5 MB" />
<!-- 最多20个日志 -->
<DefaultRolloverStrategy max="1000" />
</RollingFile>
<RollingFile name="Error"
fileName="../logs/web/${APP_NAME}_error.log"
filePattern="../logs/web/${APP_NAME}_error-%d{yyyy-MM-dd}_%i.log">
<ThresholdFilter level="Error" onMatch="ACCEPT"
onMismatch="DENY" />
<PatternLayout
pattern="%d{yyyy/MM/dd HH:mm:ss} %level Loc:%c Lines:%L Msg:%msg%xEx%n" />
<SizeBasedTriggeringPolicy size="10 MB" />
<!-- 最多20个日志 -->
<DefaultRolloverStrategy max="20" />
</RollingFile>
<RollingFile name="appender_route_time_data"
fileName="../logs/appender_route_time_data.log"
filePattern="../logs/appender_route_time_data-%d{yyyy-MM-dd}_%i.log">
<ThresholdFilter level="INFO" onMatch="ACCEPT"
onMismatch="DENY" />
<PatternLayout
pattern="%d{yyyy/MM/dd HH:mm:ss} %level Loc:%c Lines:%L Msg:%msg%xEx%n" />
<SizeBasedTriggeringPolicy size="10 MB" />
<!-- 最多20个日志 -->
<DefaultRolloverStrategy max="20" />
</RollingFile>
<RollingFile name="appender_monthly_order"
fileName="../logs/appender_monthly_order.log"
filePattern="../logs/appender_monthly_order-%d{yyyy-MM-dd}_%i.log">
<ThresholdFilter level="INFO" onMatch="ACCEPT"
onMismatch="DENY" />
<PatternLayout
pattern="%d{yyyy/MM/dd HH:mm:ss} %level Loc:%c Lines:%L Msg:%msg%xEx%n" />
<SizeBasedTriggeringPolicy size="10 MB" />
<!-- 最多20个日志 -->
<DefaultRolloverStrategy max="20" />
</RollingFile>
<RollingFile name="appender_dock_time"
fileName="../logs/appender_dock_time.log"
filePattern="../logs/appender_dock_time-%d{yyyy-MM-dd}_%i.log">
<ThresholdFilter level="INFO" onMatch="ACCEPT"
onMismatch="DENY" />
<PatternLayout
pattern="%d{yyyy/MM/dd HH:mm:ss} %level Loc:%c Lines:%L Msg:%msg%xEx%n" />
<SizeBasedTriggeringPolicy size="10 MB" />
<!-- 最多20个日志 -->
<DefaultRolloverStrategy max="20" />
</RollingFile>
<RollingFile name="appender_site_code"
fileName="../logs/appender_site_code.log"
filePattern="../logs/appender_site_code-%d{yyyy-MM-dd}_%i.log">
<ThresholdFilter level="INFO" onMatch="ACCEPT"
onMismatch="DENY" />
<PatternLayout
pattern="%d{yyyy/MM/dd HH:mm:ss} %level Loc:%c Lines:%L Msg:%msg%xEx%n" />
<SizeBasedTriggeringPolicy size="10 MB" />
<!-- 最多20个日志 -->
<DefaultRolloverStrategy max="20" />
</RollingFile>
<RollingFile name="appender_route_group"
fileName="../logs/appender_route_group.log"
filePattern="../logs/appender_route_group-%d{yyyy-MM-dd}_%i.log">
<ThresholdFilter level="INFO" onMatch="ACCEPT"
onMismatch="DENY" />
<PatternLayout
pattern="%d{yyyy/MM/dd HH:mm:ss} %level Loc:%c Lines:%L Msg:%msg%xEx%n" />
<SizeBasedTriggeringPolicy size="10 MB" />
<!-- 最多20个日志 -->
<DefaultRolloverStrategy max="20" />
</RollingFile>
<RollingFile name="appender_route_original_unit_data"
fileName="../logs/appender_route_original_unit_data.log"
filePattern="../logs/appender_route_original_unit_data-%d{yyyy-MM-dd}_%i.log">
<ThresholdFilter level="INFO" onMatch="ACCEPT"
onMismatch="DENY" />
<PatternLayout
pattern="%d{yyyy/MM/dd HH:mm:ss} %level Loc:%c Lines:%L Msg:%msg%xEx%n" />
<SizeBasedTriggeringPolicy size="10 MB" />
<!-- 最多20个日志 -->
<DefaultRolloverStrategy max="20" />
</RollingFile>
<RollingFile name="appender_container_if"
fileName="../logs/appender_container_if.log"
filePattern="../logs/appender_container_if-%d{yyyy-MM-dd}_%i.log">
<ThresholdFilter level="INFO" onMatch="ACCEPT"
onMismatch="DENY" />
<PatternLayout
pattern="%d{yyyy/MM/dd HH:mm:ss} %level Loc:%c Lines:%L Msg:%msg%xEx%n" />
<SizeBasedTriggeringPolicy size="10 MB" />
<!-- 最多20个日志 -->
<DefaultRolloverStrategy max="20" />
</RollingFile>
<RollingFile name="appender_working_clender_if"
fileName="../logs/appender_working_clender_if.log"
filePattern="../logs/appender_working_clender_if-%d{yyyy-MM-dd}_%i.log">
<ThresholdFilter level="INFO" onMatch="ACCEPT"
onMismatch="DENY" />
<PatternLayout
pattern="%d{yyyy/MM/dd HH:mm:ss} %level Loc:%c Lines:%L Msg:%msg%xEx%n" />
<SizeBasedTriggeringPolicy size="10 MB" />
<!-- 最多20个日志 -->
<DefaultRolloverStrategy max="20" />
</RollingFile>
</appenders>