Skip to content

Commit 8dddfeb

Browse files
committed
[KYUUBI #2850][FOLLOWUP] Fix default log4j2 configuration
### _Why are the changes needed?_ Remove `conf/log4j2.properties.template` as it has been replaced by `conf/log4j2.xml.template` Remove `<ThresholdFilter level="FATAL"/>` in default stdout appender. ### _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.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3000 from pan3793/log4j-followup. Closes #2850 ccb9dd6 [Cheng Pan] [KYUUBI #2850][FOLLOWUP] Fix default log4j2 configuration Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
1 parent b174d0c commit 8dddfeb

File tree

3 files changed

+0
-53
lines changed

3 files changed

+0
-53
lines changed

conf/log4j2.properties.template

Lines changed: 0 additions & 51 deletions
This file was deleted.

conf/log4j2.xml.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
<Console name="stdout" target="SYSTEM_OUT">
2525
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c: %m%n"/>
2626
<Filters>
27-
<ThresholdFilter level="FATAL"/>
2827
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
2928
</Filters>
3029
</Console>

kyuubi-common/src/main/resources/log4j2-defaults.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
<Console name="stdout" target="SYSTEM_OUT">
2424
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p %c: %m%n"/>
2525
<Filters>
26-
<ThresholdFilter level="FATAL"/>
2726
<RegexFilter regex=".*Thrift error occurred during processing of message.*" onMatch="DENY" onMismatch="NEUTRAL"/>
2827
</Filters>
2928
</Console>

0 commit comments

Comments
 (0)