Skip to content

Commit

Permalink
Added log4j with info logs for pulsar-broker unit tests (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat authored Sep 27, 2016
1 parent bea1087 commit 728091e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pulsar-broker/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

#
# Pulsar-Broker Tests Logging Configuration
#
# Format is "<default threshold> (, <appender>)+

log4j.rootLogger=OFF, CONSOLE

log4j.logger.org.apache.zookeeper=OFF
log4j.logger.org.apache.bookkeeper=OFF

log4j.logger.com.yahoo.pulsar=OFF

#
# Log INFO level and above messages to the console
#
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d{ISO8601} - %-5p - [%t:%C{1}@%L] - %m%n

0 comments on commit 728091e

Please sign in to comment.