diff options
Diffstat (limited to 'bin/OpenSim.32BitLaunch.exe.config')
-rw-r--r-- | bin/OpenSim.32BitLaunch.exe.config | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/bin/OpenSim.32BitLaunch.exe.config b/bin/OpenSim.32BitLaunch.exe.config index 6ac0206..5b7807a 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,64 @@ | |||
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 | |||
26 | <!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender: | ||
27 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> | ||
28 | <file value="log/OpenSim.32BitLaunch.log" /> | ||
29 | <rollingStyle value="Date" /> | ||
30 | <datePattern value="'.'yyyy-MM-dd"/> | ||
31 | ... | ||
32 | --> | ||
33 | |||
18 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | 34 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> |
19 | <file value="OpenSim.32BitLaunch.log" /> | 35 | <file value="OpenSim.32BitLaunch.log" /> |
20 | <appendToFile value="true" /> | 36 | <appendToFile value="true" /> |
37 | <filter type="log4net.Filter.LoggerMatchFilter"> | ||
38 | <loggerToMatch value="special"/> | ||
39 | <acceptOnMatch value="false"/> | ||
40 | </filter> | ||
21 | <layout type="log4net.Layout.PatternLayout"> | 41 | <layout type="log4net.Layout.PatternLayout"> |
22 | <conversionPattern value="%date %-5level - %logger %message%newline" /> | 42 | <conversionPattern value="%date %-5level - %logger %message%newline" /> |
23 | </layout> | 43 | </layout> |
24 | </appender> | 44 | </appender> |
25 | 45 | ||
46 | <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender"> | ||
47 | <file value="OpenSimStats.log"/> | ||
48 | <appendToFile value="true" /> | ||
49 | <layout type="log4net.Layout.PatternLayout"> | ||
50 | <conversionPattern value="%date - %message%newline" /> | ||
51 | </layout> | ||
52 | </appender> | ||
53 | |||
26 | <root> | 54 | <root> |
27 | <level value="DEBUG" /> | 55 | <level value="DEBUG" /> |
28 | <appender-ref ref="Console" /> | 56 | <appender-ref ref="Console" /> |
29 | <appender-ref ref="LogFileAppender" /> | 57 | <appender-ref ref="LogFileAppender" /> |
30 | </root> | 58 | </root> |
59 | |||
60 | <!-- Independently control logging level for XEngine --> | ||
61 | <logger name="OpenSim.Region.ScriptEngine.XEngine"> | ||
62 | <level value="INFO"/> | ||
63 | </logger> | ||
64 | |||
65 | <!-- Independently control logging level for per region module loading --> | ||
66 | <logger name="OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin"> | ||
67 | <level value="INFO"/> | ||
68 | </logger> | ||
69 | |||
70 | <!-- used for stats recording --> | ||
71 | <logger name="special.StatsLogger"> | ||
72 | <appender-ref ref="StatsLogFileAppender"/> | ||
73 | </logger> | ||
31 | </log4net> | 74 | </log4net> |
32 | </configuration> | 75 | </configuration> |