|
34 | 34 | <RollingRandomAccessFile name="file" fileName="${LOG_PATH}/${FILE_NAME}.log" |
35 | 35 | filePattern="${LOG_PATH}/$${date:yyyy-MM}/${FILE_NAME}-%d{yyyy-MM-dd}-%i.log" |
36 | 36 | bufferedIO="true" bufferSize="524288" immediateFlush="true"> |
37 | | - <ThresholdFilter level="TRACE" onMatch="ACCEPT" onMismatch="DENY"/> |
| 37 | + <ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY"/> |
38 | 38 | <PatternLayout pattern="%-d{yyyy-MM-dd HH:mm:ss} [%t] [%p] %c{1.} - %m%n"/> |
39 | 39 | <!--JsonLayout compact="true" eventEol="true" complete="true" locationInfo="true"> |
40 | 40 | <KeyValuePair key="timestamp" value="$${date:yyyy-MM-dd HH:mm:ss.SSS}"/> |
|
61 | 61 | <RollingRandomAccessFile name="raft_file" fileName="${LOG_PATH}/${FILE_NAME}_raft.log" |
62 | 62 | filePattern="${LOG_PATH}/$${date:yyyy-MM}/${FILE_NAME}-%d{yyyy-MM-dd}-%i.log" |
63 | 63 | bufferedIO="true" bufferSize="524288" immediateFlush="false"> |
64 | | - <ThresholdFilter level="TRACE" onMatch="ACCEPT" onMismatch="DENY"/> |
| 64 | + <ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY"/> |
65 | 65 | <PatternLayout pattern="%-d{yyyy-MM-dd HH:mm:ss} [%t] [%p] %c{1.} - %m%n"/> |
66 | 66 | <!--JsonLayout compact="true" eventEol="true" complete="true" locationInfo="true"> |
67 | 67 | <KeyValuePair key="timestamp" value="$${date:yyyy-MM-dd HH:mm:ss.SSS}"/> |
|
88 | 88 | <RollingRandomAccessFile name="audit" fileName="${LOG_PATH}/audit-${FILE_NAME}.log" |
89 | 89 | filePattern="${LOG_PATH}/$${date:yyyy-MM}/audit-${FILE_NAME}-%d{yyyy-MM-dd-HH}-%i.gz" |
90 | 90 | bufferedIO="true" bufferSize="524288" immediateFlush="false"> |
91 | | - <ThresholdFilter level="TRACE" onMatch="ACCEPT" onMismatch="DENY"/> |
| 91 | + <ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY"/> |
92 | 92 | <!-- Use simple format for audit log to speed up --> |
93 | 93 | <!-- PatternLayout pattern="%-d{yyyy-MM-dd HH:mm:ss} - %m%n"/ --> |
94 | 94 | <JsonLayout compact="true" eventEol="true" locationInfo="true"> |
|
116 | 116 | <loggers> |
117 | 117 | <root level="DEBUG"> |
118 | 118 | <appender-ref ref="console"/> |
119 | | - </root> |
120 | | - <root level="INFO"> |
121 | 119 | <appender-ref ref="file"/> |
122 | | - <appender-ref ref="console"/> |
123 | 120 | </root> |
124 | 121 | <logger name="com.alipay.sofa" level="INFO" additivity="false"> |
125 | 122 | <appender-ref ref="raft_file"/> |
|
0 commit comments