From 895845e9b0d7ac49da36b5cf773c6330afe4f3e0 Mon Sep 17 00:00:00 2001 From: Xiao Chen Date: Mon, 9 Jul 2018 12:06:25 -0700 Subject: [PATCH] HADOOP-15581. Set default jetty log level to INFO in KMS. Contributed by Kitti Nanasi. --- .../hadoop-kms/src/main/conf/kms-log4j.properties | 4 +++- .../hadoop-kms/src/test/resources/log4j.properties | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-kms/src/main/conf/kms-log4j.properties b/hadoop-common-project/hadoop-kms/src/main/conf/kms-log4j.properties index 04a3cf3566..e2afd41be0 100644 --- a/hadoop-common-project/hadoop-kms/src/main/conf/kms-log4j.properties +++ b/hadoop-common-project/hadoop-kms/src/main/conf/kms-log4j.properties @@ -37,4 +37,6 @@ log4j.logger.org.apache.hadoop=INFO log4j.logger.com.sun.jersey.server.wadl.generators.WadlGeneratorJAXBGrammarGenerator=OFF # make zookeeper log level an explicit config, and not changing with rootLogger. log4j.logger.org.apache.zookeeper=INFO -log4j.logger.org.apache.curator=INFO \ No newline at end of file +log4j.logger.org.apache.curator=INFO +# make jetty log level an explicit config, and not changing with rootLogger. +log4j.logger.org.eclipse.jetty=INFO \ No newline at end of file diff --git a/hadoop-common-project/hadoop-kms/src/test/resources/log4j.properties b/hadoop-common-project/hadoop-kms/src/test/resources/log4j.properties index e319af6656..b8e6353b39 100644 --- a/hadoop-common-project/hadoop-kms/src/test/resources/log4j.properties +++ b/hadoop-common-project/hadoop-kms/src/test/resources/log4j.properties @@ -31,4 +31,6 @@ log4j.logger.org.apache.directory.server.core=OFF log4j.logger.org.apache.hadoop.util.NativeCodeLoader=OFF # make zookeeper log level an explicit config, and not changing with rootLogger. log4j.logger.org.apache.zookeeper=INFO -log4j.logger.org.apache.curator=INFO \ No newline at end of file +log4j.logger.org.apache.curator=INFO +# make jetty log level an explicit config, and not changing with rootLogger. +log4j.logger.org.eclipse.jetty=INFO \ No newline at end of file