Skip to content

Commit fb5654c

Browse files
branch-4.0: [fix](be) Load JNI log4j2 properties config #63063 (#63074)
Cherry-picked from #63063 Co-authored-by: Gabriel <liwenqiang@selectdb.com>
1 parent 33da8f6 commit fb5654c

2 files changed

Lines changed: 1 addition & 64 deletions

File tree

fe/be-java-extensions/java-common/src/main/java/org/apache/doris/common/classloader/ScannerLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class ScannerLoader {
6363
}
6464

6565
// Point log4j2 to our configuration file in classpath
66-
System.setProperty("log4j2.configurationFile", "log4j2.xml");
66+
System.setProperty("log4j2.configurationFile", "log4j2.properties");
6767

6868
// Disable log4j2's shutdown hook to prevent premature shutdown in JNI environment
6969
System.setProperty("log4j.shutdownHookEnabled", "false");

fe/be-java-extensions/java-common/src/main/resources/log4j2.xml

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

0 commit comments

Comments
 (0)