-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added log4j with info logs for pulsar-broker unit tests (#37)
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |