|
@@ -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="PeerRollingError"/> |
|
|
<appender-ref ref="PeerRollingError"/> |
|
|
</root> |
|
|
</root> |
|
|
</loggers> |
|
|
</loggers> |
|
|
</configuration> |
|
|
|
|
|
|
|
|
</configuration> |