[KYUUBI #5365] Don't use Log4j2's extended throwable conversion pattern in default logging configurations
### _Why are the changes needed?_ The Apache Spark Community found a performance regression with log4j2. See https://github.com/apache/spark/pull/36747. This PR to fix the performance issue on our side. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request ### _Was this patch authored or co-authored using generative AI tooling?_ No. Closes #5400 from ITzhangqiang/KYUUBI_5365. Closes #5365 dbb9d8b32 [ITzhangqiang] [KYUUBI #5365] Don't use Log4j2's extended throwable conversion pattern in default logging configurations Authored-by: ITzhangqiang <itzhangqiang@163.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
parent
79b147ad3a
commit
e51095edaa
@ -30,14 +30,14 @@
|
||||
</Properties>
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<RollingFile name="restAudit" fileName="${sys:restAuditLogPath}"
|
||||
filePattern="${sys:restAuditLogFilePattern}">
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c{1}: %m%n%ex"/>
|
||||
<Policies>
|
||||
<SizeBasedTriggeringPolicy size="51200KB" />
|
||||
</Policies>
|
||||
@ -45,7 +45,7 @@
|
||||
</RollingFile>
|
||||
<RollingFile name="k8sAudit" fileName="${sys:k8sAuditLogPath}"
|
||||
filePattern="${sys:k8sAuditLogFilePattern}">
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c{1}: %m%n%ex"/>
|
||||
<Policies>
|
||||
<SizeBasedTriggeringPolicy size="51200KB" />
|
||||
</Policies>
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
<Configuration status="INFO">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -114,7 +114,7 @@ For example, we can disable the console appender and enable the file appender li
|
||||
<Configuration status="INFO">
|
||||
<Appenders>
|
||||
<File name="fa" fileName="log/dummy.log">
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<Configuration status="INFO">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -93,7 +93,7 @@ object Log4j2DivertAppender {
|
||||
ap.getLayout.isInstanceOf[StringLayout])
|
||||
.map(_.getLayout.asInstanceOf[StringLayout])
|
||||
.getOrElse(PatternLayout.newBuilder().withPattern(
|
||||
"%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n").build())
|
||||
"%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n%ex").build())
|
||||
}
|
||||
|
||||
def initialize(): Unit = {
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
@ -21,13 +21,13 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
</File>
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
|
||||
@ -24,20 +24,20 @@
|
||||
</Properties>
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</File>
|
||||
<File name="restAudit" fileName="${sys:restAuditLogPath}">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c{1}: %m%n%ex"/>
|
||||
</File>
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="stdout" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %p %c: %m%n%ex"/>
|
||||
<Filters>
|
||||
<ThresholdFilter level="FATAL"/>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
</Console>
|
||||
<File name="file" fileName="target/unit-tests.log">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex"/>
|
||||
<Filters>
|
||||
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user