@@ -8,7 +8,7 @@ | |||||
<!--这个输出控制台的配置--> | <!--这个输出控制台的配置--> | ||||
<console name="Console" target="SYSTEM_OUT"> | <console name="Console" target="SYSTEM_OUT"> | ||||
<!--控制台只输出level及以上级别的信息(onMatch),其他的直接拒绝(onMismatch)--> | <!--控制台只输出level及以上级别的信息(onMatch),其他的直接拒绝(onMismatch)--> | ||||
<ThresholdFilter level="error" onMatch="ACCEPT" onMismatch="DENY"/> | |||||
<ThresholdFilter level="info" onMatch="ACCEPT" onMismatch="DENY"/> | |||||
<!--输出日志的格式--> | <!--输出日志的格式--> | ||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n"/> | <PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n"/> | ||||
</console> | </console> | ||||
@@ -43,4 +43,4 @@ | |||||
<appender-ref ref="UmpRollingError"/> | <appender-ref ref="UmpRollingError"/> | ||||
</root> | </root> | ||||
</loggers> | </loggers> | ||||
</configuration> | |||||
</configuration> |
@@ -8,7 +8,7 @@ | |||||
<!--这个输出控制台的配置--> | <!--这个输出控制台的配置--> | ||||
<console name="Console" target="SYSTEM_OUT"> | <console name="Console" target="SYSTEM_OUT"> | ||||
<!--控制台只输出level及以上级别的信息(onMatch),其他的直接拒绝(onMismatch)--> | <!--控制台只输出level及以上级别的信息(onMatch),其他的直接拒绝(onMismatch)--> | ||||
<ThresholdFilter level="error" onMatch="ACCEPT" onMismatch="DENY"/> | |||||
<ThresholdFilter level="info" onMatch="ACCEPT" onMismatch="DENY"/> | |||||
<!--输出日志的格式--> | <!--输出日志的格式--> | ||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n"/> | <PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n"/> | ||||
</console> | </console> | ||||
@@ -59,4 +59,4 @@ | |||||
<appender-ref ref="InitRollingError"/> | <appender-ref ref="InitRollingError"/> | ||||
</root> | </root> | ||||
</loggers> | </loggers> | ||||
</configuration> | |||||
</configuration> |