HDFS-11055. Update default-log4j.properties for httpfs to imporve test logging. Contributed by Wei-Chiu Chuang.

(cherry picked from commit 31ff42b510)
(cherry picked from commit 2cf3138d72)
This commit is contained in:
Wei-Chiu Chuang 2016-10-27 13:37:00 -07:00
parent d21dc8aa6c
commit bc2f429c0e
1 changed files with 6 additions and 2 deletions

View File

@ -18,5 +18,9 @@ log4j.appender.test.File=${test.dir}/test.log
log4j.appender.test.Append=true log4j.appender.test.Append=true
log4j.appender.test.layout=org.apache.log4j.PatternLayout log4j.appender.test.layout=org.apache.log4j.PatternLayout
log4j.appender.test.layout.ConversionPattern=%d{ISO8601} %5p %20c{1}: %4L - %m%n log4j.appender.test.layout.ConversionPattern=%d{ISO8601} %5p %20c{1}: %4L - %m%n
log4j.rootLogger=ALL, test log4j.rootLogger=INFO, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %c{1} - %m%n
log4j.logger.com.sun.jersey.server.wadl.generators.AbstractWadlGeneratorGrammarGenerator=OFF