Alexander Afanasyev | c507ac2 | 2013-01-21 16:01:58 -0800 | [diff] [blame] | 1 | # Set root logger level to DEBUG and its only appender to A1. |
Alexander Afanasyev | da5a14f | 2013-01-28 22:22:50 -0800 | [diff] [blame] | 2 | log4j.rootLogger=TRACE, A1, rollingFile |
Alexander Afanasyev | c507ac2 | 2013-01-21 16:01:58 -0800 | [diff] [blame] | 3 | |
| 4 | # A1 is set to be a ConsoleAppender. |
| 5 | log4j.appender.A1=org.apache.log4j.ConsoleAppender |
| 6 | |
| 7 | # A1 uses PatternLayout. |
| 8 | log4j.appender.A1.layout=org.apache.log4j.PatternLayout |
| 9 | log4j.appender.A1.target=System.err |
| 10 | #log4j.appender.A1.layout.ConversionPattern=%d{dd-MMM HH:MM:SS,SSS} %p %c %m%n |
| 11 | #log4j.appender.A1.layout.ConversionPattern=%d{hh:mm:ss,SSS} %-14t %-14c %m%n |
Alexander Afanasyev | 49a30d0 | 2013-01-21 21:38:48 -0800 | [diff] [blame] | 12 | log4j.appender.A1.layout.ConversionPattern=%d{ss,SSS} %-5p %-12c %m%n |
Alexander Afanasyev | c507ac2 | 2013-01-21 16:01:58 -0800 | [diff] [blame] | 13 | |
Alexander Afanasyev | da5a14f | 2013-01-28 22:22:50 -0800 | [diff] [blame] | 14 | log4j.appender.rollingFile=org.apache.log4j.RollingFileAppender |
| 15 | log4j.appender.rollingFile.File=logfile.txt |
| 16 | log4j.appender.rollingFile.MaxFileSize=10MB |
| 17 | log4j.appender.rollingFile.MaxBackupIndex=9 |
| 18 | log4j.appender.rollingFile.layout = org.apache.log4j.PatternLayout |
| 19 | log4j.appender.rollingFile.layout.ConversionPattern=%d{ss,SSS} %-5p %-12c %m%n |
| 20 | |
Alexander Afanasyev | 5268ff6 | 2013-02-07 13:09:45 -0800 | [diff] [blame] | 21 | log4j.logger.Executor = ERROR |
Alexander Afanasyev | da5a14f | 2013-01-28 22:22:50 -0800 | [diff] [blame] | 22 | #log4j.logger.Sync.Log = ERROR |
| 23 | #log4j.logger.Sync.Core = TRACE |
Alexander Afanasyev | 5268ff6 | 2013-02-07 13:09:45 -0800 | [diff] [blame] | 24 | log4j.logger.Scheduler = ERROR |
Alexander Afanasyev | da5a14f | 2013-01-28 22:22:50 -0800 | [diff] [blame] | 25 | # |
| 26 | #log4j.logger.Fetcher = TRACE |
| 27 | #log4j.logger.FetchManager = TRACE |
Alexander Afanasyev | fc72036 | 2013-01-24 21:49:48 -0800 | [diff] [blame] | 28 | |
Alexander Afanasyev | a35756b | 2013-01-22 16:59:11 -0800 | [diff] [blame] | 29 | #log4j.logger.Sync = DEBUG |
| 30 | #log4j.logger.Sync.Log = ERROR |
Alexander Afanasyev | c507ac2 | 2013-01-21 16:01:58 -0800 | [diff] [blame] | 31 | #log4j.logger.SyncInterestTable = TRACE |
| 32 | #log4j.logger.AppDataFetch = TRACE |
Alexander Afanasyev | a35756b | 2013-01-22 16:59:11 -0800 | [diff] [blame] | 33 | #log4j.logger.Test = TRACE |
Alexander Afanasyev | c507ac2 | 2013-01-21 16:01:58 -0800 | [diff] [blame] | 34 | #log4j.logger.bgpparser=TRACE |
| 35 | #log4j.logger.bgpparser.AttributeType=ERROR |
| 36 | #log4j.logger.bgpparser.MRTCommonHeader=ERROR |
| 37 | |