Created
May 30, 2014 05:02
-
-
Save jrichardsz/53bef54767ec5f44f32b to your computer and use it in GitHub Desktop.
File appender log4j.properties
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.rootCategory=INFO, file | |
log4j.appender.file=org.apache.log4j.RollingFileAppender | |
log4j.appender.file.File=/log/my-webapp.log | |
log4j.appender.file.MaxFileSize=5MB | |
log4j.appender.file.MaxBackupIndex=10 | |
log4j.appender.file.layout=org.apache.log4j.PatternLayout | |
log4j.appender.file.layout.ConversionPattern=%d %p [%c] - %m %n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment