blob: bdbc1a23db1ba2ad58c2fe7b97a31bd6d1e8ae7e [file] [log] [blame]
Jeff Thompsonfa306642013-06-17 15:06:57 -07001# Set root logger level to DEBUG and its only appender to A1.
2log4j.rootLogger=TRACE, A1
3#, rollingFile
4
5# A1 is set to be a ConsoleAppender.
6log4j.appender.A1=org.apache.log4j.ConsoleAppender
7
8# A1 uses PatternLayout.
9log4j.appender.A1.layout=org.apache.log4j.PatternLayout
10log4j.appender.A1.target=System.err
11#log4j.appender.A1.layout.ConversionPattern=%d{dd-MMM HH:MM:SS,SSS} %p %c %m%n
12#log4j.appender.A1.layout.ConversionPattern=%d{hh:mm:ss,SSS} %-14t %-14c %m%n
13log4j.appender.A1.layout.ConversionPattern=%d{ss,SSS} %-5p %-12c %m%n
14
15log4j.appender.rollingFile=org.apache.log4j.RollingFileAppender
16log4j.appender.rollingFile.File=logfile.txt
17log4j.appender.rollingFile.MaxFileSize=10MB
18log4j.appender.rollingFile.MaxBackupIndex=9
19log4j.appender.rollingFile.layout = org.apache.log4j.PatternLayout
20log4j.appender.rollingFile.layout.ConversionPattern=%d{ss,SSS} %-5p %-12c %m%n
21
22log4j.logger.Executor = ERROR
23#log4j.logger.Scheduler = ERROR
24