source:
osm/applications/editors/josm/plugins/MicrosoftStreetside/config/log4j.xml
Last change on this file was 34365, checked in by , 7 years ago | |
---|---|
|
|
File size: 1.0 KB |
Line | |
---|---|
1 | <?xml version="1.0" encoding="UTF-8" ?> |
2 | <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> |
3 | <log4j:configuration debug="true" |
4 | xmlns:log4j='http://jakarta.apache.org/log4j/'> |
5 | |
6 | <appender name="console" class="org.apache.log4j.ConsoleAppender"> |
7 | <layout class="org.apache.log4j.PatternLayout"> |
8 | <param name="ConversionPattern" |
9 | value="%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n" /> |
10 | </layout> |
11 | </appender> |
12 | |
13 | <appender name="file" class="org.apache.log4j.RollingFileAppender"> |
14 | <param name="append" value="true" /> |
15 | <param name="maxFileSize" value="100MB" /> |
16 | <param name="maxBackupIndex" value="100" /> |
17 | <param name="file" value="logs/ms-josm-streetside.log" /> |
18 | <layout class="org.apache.log4j.PatternLayout"> |
19 | <param name="ConversionPattern" |
20 | value="%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n" /> |
21 | </layout> |
22 | </appender> |
23 | |
24 | <root> |
25 | <level value="DEBUG" /> |
26 | <appender-ref ref="console" /> |
27 | <appender-ref ref="file" /> |
28 | </root> |
29 | |
30 | </log4j:configuration> |
Note:
See TracBrowser
for help on using the repository browser.