From c15fd3b2c0375ae9865210fae7eab480ef3d4fcc Mon Sep 17 00:00:00 2001 From: Junfan Zhang Date: Sun, 5 Nov 2023 13:57:48 +0800 Subject: [PATCH] YARN-11599. Incorrect log4j properties file in SLS sample conf (#6220) Contributed by Junfan Zhang. Reviewed-by: Shilun Fan Signed-off-by: Shilun Fan --- hadoop-tools/hadoop-sls/src/main/sample-conf/log4j.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-tools/hadoop-sls/src/main/sample-conf/log4j.properties b/hadoop-tools/hadoop-sls/src/main/sample-conf/log4j.properties index cfd405b16e7ce..b2a63bc0a9634 100644 --- a/hadoop-tools/hadoop-sls/src/main/sample-conf/log4j.properties +++ b/hadoop-tools/hadoop-sls/src/main/sample-conf/log4j.properties @@ -16,4 +16,4 @@ log4j.appender.test.Target=System.out log4j.appender.test.layout=org.apache.log4j.PatternLayout log4j.appender.test.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n -log4j.logger=NONE, test +log4j.rootLogger=WARN, test