blob: bdbc1a23db1ba2ad58c2fe7b97a31bd6d1e8ae7e [file] [log] [blame]
Alexander Afanasyevd74818b2013-07-09 10:54:42 -07001# Set root logger level to DEBUG and its only appender to A1.
Yingdi Yu3b318c12013-10-15 17:54:00 -07002log4j.rootLogger=TRACE, A1
3#, rollingFile
Alexander Afanasyevd74818b2013-07-09 10:54:42 -07004
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
Yingdi Yu3b318c12013-10-15 17:54:00 -070013log4j.appender.A1.layout.ConversionPattern=%d{ss,SSS} %-5p %-12c %m%n
Alexander Afanasyevd74818b2013-07-09 10:54:42 -070014
Yingdi Yu3b318c12013-10-15 17:54:00 -070015log4j.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
Alexander Afanasyevd74818b2013-07-09 10:54:42 -070024