diff options
Diffstat (limited to 'bin/OpenSim.32BitLaunch.exe.config')
-rw-r--r-- | bin/OpenSim.32BitLaunch.exe.config | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/bin/OpenSim.32BitLaunch.exe.config b/bin/OpenSim.32BitLaunch.exe.config index 6ac0206..a07ace3 100644 --- a/bin/OpenSim.32BitLaunch.exe.config +++ b/bin/OpenSim.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,56 @@ | |||
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" /> |
21 | <!-- console log with milliseconds. Useful for debugging --> | ||
22 | <!-- <conversionPattern value="%date{HH:mm:ss.fff} - %message" /> --> | ||
16 | </layout> | 23 | </layout> |
17 | </appender> | 24 | </appender> |
25 | |||
18 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | 26 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> |
19 | <file value="OpenSim.32BitLaunch.log" /> | 27 | <file value="OpenSim.32BitLaunch.log" /> |
20 | <appendToFile value="true" /> | 28 | <appendToFile value="true" /> |
29 | <filter type="log4net.Filter.LoggerMatchFilter"> | ||
30 | <loggerToMatch value="special"/> | ||
31 | <acceptOnMatch value="false"/> | ||
32 | </filter> | ||
21 | <layout type="log4net.Layout.PatternLayout"> | 33 | <layout type="log4net.Layout.PatternLayout"> |
22 | <conversionPattern value="%date %-5level - %logger %message%newline" /> | 34 | <conversionPattern value="%date %-5level - %logger %message%newline" /> |
23 | </layout> | 35 | </layout> |
24 | </appender> | 36 | </appender> |
25 | 37 | ||
38 | <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender"> | ||
39 | <file value="OpenSimStats.log"/> | ||
40 | <appendToFile value="true" /> | ||
41 | <layout type="log4net.Layout.PatternLayout"> | ||
42 | <conversionPattern value="%date - %message%newline" /> | ||
43 | </layout> | ||
44 | </appender> | ||
45 | |||
26 | <root> | 46 | <root> |
27 | <level value="DEBUG" /> | 47 | <level value="DEBUG" /> |
28 | <appender-ref ref="Console" /> | 48 | <appender-ref ref="Console" /> |
29 | <appender-ref ref="LogFileAppender" /> | 49 | <appender-ref ref="LogFileAppender" /> |
30 | </root> | 50 | </root> |
51 | |||
52 | <!-- Independently control logging level for XEngine --> | ||
53 | <logger name="OpenSim.Region.ScriptEngine.XEngine"> | ||
54 | <level value="INFO"/> | ||
55 | </logger> | ||
56 | |||
57 | <!-- Independently control logging level for per region module loading --> | ||
58 | <logger name="OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin"> | ||
59 | <level value="INFO"/> | ||
60 | </logger> | ||
61 | |||
62 | <!-- used for stats recording --> | ||
63 | <logger name="special.StatsLogger"> | ||
64 | <appender-ref ref="StatsLogFileAppender"/> | ||
65 | </logger> | ||
31 | </log4net> | 66 | </log4net> |
32 | </configuration> | 67 | </configuration> |