From c5f5c807bbf93a5a87138dab814321ad83d249c8 Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Sun, 2 Nov 2014 11:23:21 -0500 Subject: [PATCH] Fix test level logging Original commit: elastic/x-pack-elasticsearch@aa8439bd898f3f6096e26cf356065f881e659f2a --- pom.xml | 6 ++++++ src/test/resources/log4j.properties | 10 +++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 33347dff432..e5a8bd78a8d 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,12 @@ 2.1.10 test + + log4j + log4j + 1.2.17 + test + diff --git a/src/test/resources/log4j.properties b/src/test/resources/log4j.properties index 51e20a66d11..76defc8660c 100644 --- a/src/test/resources/log4j.properties +++ b/src/test/resources/log4j.properties @@ -1,15 +1,11 @@ -es.logger.level=DEBUG +es.logger.level=INFO log4j.rootLogger=${es.logger.level}, out log4j.logger.org.apache.http=INFO, out log4j.additivity.org.apache.http=false +log4j.logger.org.elasticsearch.license=TRACE + log4j.appender.out=org.apache.log4j.ConsoleAppender log4j.appender.out.layout=org.apache.log4j.PatternLayout log4j.appender.out.layout.conversionPattern=[%d{ISO8601}][%-5p][%-25c] %m%n - -log4j.logger.shield.audit.logfile=TRACE, access_log - -log4j.appender.access_log=org.apache.log4j.ConsoleAppender -log4j.appender.access_log.layout=org.apache.log4j.PatternLayout -log4j.appender.access_log.layout.conversionPattern=%m%n \ No newline at end of file