aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/OpenSim.exe.config
diff options
context:
space:
mode:
Diffstat (limited to 'bin/OpenSim.exe.config')
-rwxr-xr-xbin/OpenSim.exe.config37
1 files changed, 31 insertions, 6 deletions
diff --git a/bin/OpenSim.exe.config b/bin/OpenSim.exe.config
index 8a891f4..b01191e 100755
--- a/bin/OpenSim.exe.config
+++ b/bin/OpenSim.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,6 +12,10 @@
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" /> 20 <conversionPattern value="%date{HH:mm:ss} - %message" />
16 <!-- console log with milliseconds. Useful for debugging --> 21 <!-- console log with milliseconds. Useful for debugging -->
@@ -18,11 +23,31 @@
18 </layout> 23 </layout>
19 </appender> 24 </appender>
20 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.log" />
29 <rollingStyle value="Date" />
30 <datePattern value="'.'yyyy-MM-dd"/>
31 ...
32-->
33
21 <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> 34 <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
22 <file value="OpenSim.log" /> 35 <file value="OpenSim.log" />
23 <appendToFile value="true" /> 36 <appendToFile value="true" />
37 <filter type="log4net.Filter.LoggerMatchFilter">
38 <loggerToMatch value="special"/>
39 <acceptOnMatch value="false"/>
40 </filter>
41 <layout type="log4net.Layout.PatternLayout">
42 <conversionPattern value="%date %-5level (%thread) - %logger %message%newline" />
43 </layout>
44 </appender>
45
46 <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender">
47 <file value="OpenSimStats.log"/>
48 <appendToFile value="true" />
24 <layout type="log4net.Layout.PatternLayout"> 49 <layout type="log4net.Layout.PatternLayout">
25 <conversionPattern value="%date %-5level - %logger %message%newline" /> 50 <conversionPattern value="%date - %message%newline" />
26 </layout> 51 </layout>
27 </appender> 52 </appender>
28 53
@@ -32,15 +57,15 @@
32 <appender-ref ref="LogFileAppender" /> 57 <appender-ref ref="LogFileAppender" />
33 </root> 58 </root>
34 59
35 <!-- Independently control logging level for XEngine -->
36 <logger name="OpenSim.Region.ScriptEngine.XEngine">
37 <level value="INFO"/>
38 </logger>
39
40 <!-- Independently control logging level for per region module loading --> 60 <!-- Independently control logging level for per region module loading -->
41 <logger name="OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin"> 61 <logger name="OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin">
42 <level value="INFO"/> 62 <level value="INFO"/>
43 </logger> 63 </logger>
44 64
65 <!-- used for stats recording -->
66 <logger name="special.StatsLogger">
67 <appender-ref ref="StatsLogFileAppender"/>
68 </logger>
69
45 </log4net> 70 </log4net>
46</configuration> 71</configuration>