Fix test level logging

Original commit: elastic/x-pack-elasticsearch@aa8439bd89
This commit is contained in:
Igor Motov 2014-11-02 11:23:21 -05:00
parent dc8e3850e4
commit c5f5c807bb
2 changed files with 9 additions and 7 deletions

View File

@ -55,6 +55,12 @@
<version>2.1.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>test</scope>
</dependency>
<!-- compile deps -->
<dependency>

View File

@ -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