1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 19:22:22 -05:00
davmail/src/java/log4j.properties

23 lines
980 B
Properties
Raw Normal View History

# Set root logger level to DEBUG and its only appender to ConsoleAppender.
log4j.rootLogger=DEBUG, ConsoleAppender, FileAppender
log4j.logger.httpclient.wire=WARN, ConsoleAppender
log4j.logger.org.apache.commons.httpclient=WARN, ConsoleAppender
# ConsoleAppender is set to be a ConsoleAppender.
log4j.appender.ConsoleAppender=org.apache.log4j.ConsoleAppender
# ConsoleAppender uses PatternLayout.
log4j.appender.ConsoleAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.ConsoleAppender.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
log4j.appender.FileAppender=org.apache.log4j.RollingFileAppender
log4j.appender.FileAppender.maxBackupIndex=2
log4j.appender.FileAppender.maxFileSize=1MB
# Path and name of log file
log4j.appender.FileAppender.File=davmail.log
# ConsoleAppender uses PatternLayout.
log4j.appender.FileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.FileAppender.layout.ConversionPattern=%d{ISO8601} - %m%n