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 | a9369b4 | 2017-01-11 11:58:00 -0800 | [diff] [blame] | 2 | log4j.rootLogger=DEBUG, A1 |
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 |
Alexander Afanasyev | 49a30d0 | 2013-01-21 21:38:48 -0800 | [diff] [blame] | 10 | log4j.appender.A1.layout.ConversionPattern=%d{ss,SSS} %-5p %-12c %m%n |