Created
June 27, 2016 13:42
-
-
Save hseritt/ebd6276ca93a885e2d12aba2645d5748 to your computer and use it in GitHub Desktop.
Log4j 1.2.17 - simple print debug to console
This file contains hidden or 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
# Root logger option | |
log4j.rootLogger=DEBUG, stdout | |
# Direct log messages to 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{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n | |
log4j.logger.org.prodigius.jdbobj.Db=debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment