Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | |
| 3 | <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> |
| 4 | |
| 5 | <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" |
| 6 | debug="false"> |
| 7 | |
| 8 | <appender name="fileAppender" class="org.apache.log4j.FileAppender"> |
| 9 | |
| 10 | <param name="Threshold" value="INFO" /> |
| 11 | |
| 12 | <param name="File" value="logfile.log" /> |
| 13 | |
| 14 | <layout class="org.apache.log4j.PatternLayout"> |
| 15 | |
| 16 | <param name="ConversionPattern" value="%d %-5p [%c{1}] %m %n" /> |
| 17 | |
| 18 | </layout> |
| 19 | |
| 20 | </appender> |
| 21 | |
| 22 | <root> |
| 23 | |
| 24 | <level value="INFO" /> |
| 25 | |
| 26 | <appender-ref ref="fileAppender" /> |
| 27 | |
| 28 | </root> |
| 29 | |
| 30 | |
| 31 | |
| 32 | </log4j:configuration> |