2008-11-04 08:48:38 -05:00
|
|
|
# Warning : actual log levels set in davmail.properties
|
|
|
|
log4j.rootLogger=WARN, ConsoleAppender, FileAppender
|
|
|
|
log4j.logger.davmail=DEBUG
|
|
|
|
log4j.logger.httpclient.wire=WARN
|
|
|
|
log4j.logger.org.apache.commons.httpclient=WARN
|
2006-12-12 18:57:24 -05:00
|
|
|
|
|
|
|
# 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
|
2008-11-04 09:15:32 -05:00
|
|
|
log4j.appender.ConsoleAppender.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c %x - %m%n
|
2006-12-12 18:57:24 -05:00
|
|
|
|
2006-12-14 07:32:48 -05:00
|
|
|
log4j.appender.FileAppender=org.apache.log4j.RollingFileAppender
|
2008-02-14 10:48:05 -05:00
|
|
|
log4j.appender.FileAppender.maxBackupIndex=2
|
|
|
|
log4j.appender.FileAppender.maxFileSize=1MB
|
2006-12-12 18:57:24 -05:00
|
|
|
|
|
|
|
# Path and name of log file
|
|
|
|
log4j.appender.FileAppender.File=davmail.log
|
|
|
|
# ConsoleAppender uses PatternLayout.
|
|
|
|
log4j.appender.FileAppender.layout=org.apache.log4j.PatternLayout
|
2006-12-14 07:32:48 -05:00
|
|
|
log4j.appender.FileAppender.layout.ConversionPattern=%d{ISO8601} - %m%n
|