diff options
Diffstat (limited to '')
-rw-r--r-- | bin/Robust.exe.config | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/Robust.exe.config b/bin/Robust.exe.config index 889a964..b9e01f1 100644 --- a/bin/Robust.exe.config +++ b/bin/Robust.exe.config | |||
@@ -21,11 +21,17 @@ | |||
21 | </layout> | 21 | </layout> |
22 | </appender> | 22 | </appender> |
23 | 23 | ||
24 | <!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender: | ||
24 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> | 25 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> |
25 | <file value="Robust.log" /> | 26 | <file value="log/Robust.log" /> |
26 | <appendToFile value="true" /> | ||
27 | <rollingStyle value="Date" /> | 27 | <rollingStyle value="Date" /> |
28 | <datePattern value="'.'yyyy-MM-dd"/> | 28 | <datePattern value="'.'yyyy-MM-dd"/> |
29 | ... | ||
30 | --> | ||
31 | |||
32 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | ||
33 | <file value="Robust.log" /> | ||
34 | <appendToFile value="true" /> | ||
29 | <filter type="log4net.Filter.LoggerMatchFilter"> | 35 | <filter type="log4net.Filter.LoggerMatchFilter"> |
30 | <loggerToMatch value="special"/> | 36 | <loggerToMatch value="special"/> |
31 | <acceptOnMatch value="false"/> | 37 | <acceptOnMatch value="false"/> |