Created
September 4, 2012 18:52
-
-
Save gphil/3624967 to your computer and use it in GitHub Desktop.
Basic log4j Configuration
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
log4j.rootLogger=DEBUG, standard | |
log4j.appender.standard = org.apache.log4j.RollingFileAppender | |
log4j.appender.standard.File = logs/standard.log | |
log4j.appender.standard.MaxFileSize=1MB | |
log4j.appender.standard.MaxBackupIndex=1 | |
log4j.appender.standard.layout=org.apache.log4j.PatternLayout | |
log4j.appender.standard.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment