diff options
Diffstat (limited to '')
-rw-r--r-- | bin/Robust.32BitLaunch.exe.config | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bin/Robust.32BitLaunch.exe.config b/bin/Robust.32BitLaunch.exe.config index dae45ff..ec17049 100644 --- a/bin/Robust.32BitLaunch.exe.config +++ b/bin/Robust.32BitLaunch.exe.config | |||
@@ -11,22 +11,44 @@ | |||
11 | </appSettings> | 11 | </appSettings> |
12 | <log4net> | 12 | <log4net> |
13 | <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console"> | 13 | <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console"> |
14 | <filter type="log4net.Filter.LoggerMatchFilter"> | ||
15 | <loggerToMatch value="special"/> | ||
16 | <acceptOnMatch value="false"/> | ||
17 | </filter> | ||
14 | <layout type="log4net.Layout.PatternLayout"> | 18 | <layout type="log4net.Layout.PatternLayout"> |
15 | <conversionPattern value="%date{HH:mm:ss} - %message%newline" /> | 19 | <conversionPattern value="%date{HH:mm:ss} - %message%newline" /> |
16 | </layout> | 20 | </layout> |
17 | </appender> | 21 | </appender> |
22 | |||
18 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | 23 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> |
19 | <file value="Robust.32BitLaunch.log" /> | 24 | <file value="Robust.32BitLaunch.log" /> |
20 | <appendToFile value="true" /> | 25 | <appendToFile value="true" /> |
26 | <filter type="log4net.Filter.LoggerMatchFilter"> | ||
27 | <loggerToMatch value="special"/> | ||
28 | <acceptOnMatch value="false"/> | ||
29 | </filter> | ||
21 | <layout type="log4net.Layout.PatternLayout"> | 30 | <layout type="log4net.Layout.PatternLayout"> |
22 | <conversionPattern value="%date %-5level - %logger %message%newline" /> | 31 | <conversionPattern value="%date %-5level - %logger %message%newline" /> |
23 | </layout> | 32 | </layout> |
24 | </appender> | 33 | </appender> |
25 | 34 | ||
35 | <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender"> | ||
36 | <file value="RobustStats.log"/> | ||
37 | <appendToFile value="true" /> | ||
38 | <layout type="log4net.Layout.PatternLayout"> | ||
39 | <conversionPattern value="%date - %message%newline" /> | ||
40 | </layout> | ||
41 | </appender> | ||
42 | |||
26 | <root> | 43 | <root> |
27 | <level value="DEBUG" /> | 44 | <level value="DEBUG" /> |
28 | <appender-ref ref="Console" /> | 45 | <appender-ref ref="Console" /> |
29 | <appender-ref ref="LogFileAppender" /> | 46 | <appender-ref ref="LogFileAppender" /> |
30 | </root> | 47 | </root> |
48 | |||
49 | <!-- used for stats recording --> | ||
50 | <logger name="special.StatsLogger"> | ||
51 | <appender-ref ref="StatsLogFileAppender"/> | ||
52 | </logger> | ||
31 | </log4net> | 53 | </log4net> |
32 | </configuration> | 54 | </configuration> |