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