Chengyu Fan | 71b712b | 2015-09-09 22:13:56 -0600 | [diff] [blame] | 1 | # Set root logger level to DEBUG and its only appender to R. |
| 2 | log4j.rootLogger=ERROR, R |
| 3 | |
| 4 | log4j.appender.R=org.apache.log4j.RollingFileAppender |
| 5 | log4j.appender.R.File=example.log |
| 6 | log4j.appender.R.MaxFileSize=100KB |
| 7 | |
| 8 | log4j.appender.R.layout=org.apache.log4j.PatternLayout |
| 9 | log4j.appender.R.layout.ConversionPattern=%d{hh:mm:ss,SSS} %-14t %-14c %m%n |
| 10 | |
| 11 | # R is set to be a ConsoleAppender. |
| 12 | #log4j.appender.R=org.apache.log4j.ConsoleAppender |
| 13 | |
| 14 | # R uses PatternLayout. |
| 15 | #log4j.appender.R.layout=org.apache.log4j.PatternLayout |
| 16 | #log4j.appender.R.target=System.err |
| 17 | #log4j.appender.R.layout.ConversionPattern=%d{dd-MMM HH:MM:SS,SSS} %p %c %m%n |
| 18 | #log4j.appender.R.layout.ConversionPattern=%d{hh:mm:ss,SSS} %-14t %-14c %m%n |
| 19 | #log4j.appender.R.layout.ConversionPattern=%d{ss,SSS} %-12c %m%n |
| 20 | |
| 21 | log4j.logger.QueryAdapter = DEBUG |
| 22 | log4j.logger.PublishAdapter = DEBUG |