Skip to content

Commit

Permalink
Set minimum level to DEBUG in log4j.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jai1 authored and merlimat committed Feb 23, 2017
1 parent 1a7b950 commit 8c8b72c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions conf/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ log4j.rootLogger=${pulsar.root.logger}
# Log INFO level and above messages to the console
#
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Threshold=INFO
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

Expand All @@ -43,7 +43,7 @@ log4j.appender.CONSOLE.layout.ConversionPattern=%d{ISO8601} - %-5p - [%t:%C{1}@%
# Log DEBUG level and above messages to a log file
log4j.appender.ROLLINGFILE=org.apache.log4j.DailyRollingFileAppender

log4j.appender.ROLLINGFILE.Threshold=INFO
log4j.appender.ROLLINGFILE.Threshold=DEBUG
log4j.appender.ROLLINGFILE.File=${pulsar.log.dir}/${pulsar.log.file}
log4j.appender.ROLLINGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.ROLLINGFILE.layout.ConversionPattern=%d{ISO8601} - %-5p - [%t:%C{1}@%L] - %m%n
Expand Down
2 changes: 1 addition & 1 deletion conf/log4j.shell.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ log4j.rootLogger=${bookkeeper.root.logger}
# Log INFO level and above messages to the console
#
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Threshold=INFO
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %-5p %m%n

Expand Down

0 comments on commit 8c8b72c

Please sign in to comment.