aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/OpenSim.exe.config
diff options
context:
space:
mode:
Diffstat (limited to 'bin/OpenSim.exe.config')
-rwxr-xr-x[-rw-r--r--]bin/OpenSim.exe.config21
1 files changed, 14 insertions, 7 deletions
diff --git a/bin/OpenSim.exe.config b/bin/OpenSim.exe.config
index e3ee927..5be6989 100644..100755
--- a/bin/OpenSim.exe.config
+++ b/bin/OpenSim.exe.config
@@ -5,40 +5,46 @@
5 </configSections> 5 </configSections>
6 <runtime> 6 <runtime>
7 <loadFromRemoteSources enabled="true" /> 7 <loadFromRemoteSources enabled="true" />
8 <gcConcurrent enabled="true" />
9 <gcServer enabled="true" />
10 </runtime> 8 </runtime>
11 <appSettings> 9 <appSettings>
12 </appSettings> 10 </appSettings>
11
13 <log4net> 12 <log4net>
14 <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console"> 13 <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
15 <threshold value="INFO" />
16 <filter type="log4net.Filter.LoggerMatchFilter"> 14 <filter type="log4net.Filter.LoggerMatchFilter">
17 <loggerToMatch value="special"/> 15 <loggerToMatch value="special"/>
18 <acceptOnMatch value="false"/> 16 <acceptOnMatch value="false"/>
19 </filter> 17 </filter>
20 <layout type="log4net.Layout.PatternLayout"> 18 <layout type="log4net.Layout.PatternLayout">
21 <conversionPattern value="%date{HH:mm:ss} - %message" /> 19 <conversionPattern value="%date{HH:mm:ss} - %message" />
20 <!-- console log with milliseconds. Useful for debugging -->
21<!-- <conversionPattern value="%date{HH:mm:ss.fff} - %message" /> -->
22 </layout> 22 </layout>
23 </appender> 23 </appender>
24 24
25<!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender:
25 <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> 26 <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
26 <threshold value="DEBUG" /> 27 <file value="log/OpenSim.log" />
27 <file value="../logs/OpenSim.log" />
28 <rollingStyle value="Date" /> 28 <rollingStyle value="Date" />
29 <datePattern value="'.'yyyy-MM-dd"/> 29 <datePattern value="'.'yyyy-MM-dd"/>
30 ...
31-->
32
33 <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
34 <file value="OpenSim.log" />
30 <appendToFile value="true" /> 35 <appendToFile value="true" />
31 <filter type="log4net.Filter.LoggerMatchFilter"> 36 <filter type="log4net.Filter.LoggerMatchFilter">
32 <loggerToMatch value="special"/> 37 <loggerToMatch value="special"/>
33 <acceptOnMatch value="false"/> 38 <acceptOnMatch value="false"/>
34 </filter> 39 </filter>
35 <layout type="log4net.Layout.PatternLayout"> 40 <layout type="log4net.Layout.PatternLayout">
36 <conversionPattern value="%date{yyyy-MM-dd HH:mm:ss.fff} %-5level (%thread) - %logger %message%newline" /> 41 <!-- <conversionPattern value="%date %-5level (%thread) - %logger %message%newline" /> -->
42 <conversionPattern value="%date %-5level %message%newline" />
37 </layout> 43 </layout>
38 </appender> 44 </appender>
39 45
40 <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender"> 46 <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender">
41 <file value="../logs/OpenSimStats.log"/> 47 <file value="OpenSimStats.log"/>
42 <appendToFile value="true" /> 48 <appendToFile value="true" />
43 <layout type="log4net.Layout.PatternLayout"> 49 <layout type="log4net.Layout.PatternLayout">
44 <conversionPattern value="%date - %message%newline" /> 50 <conversionPattern value="%date - %message%newline" />
@@ -46,6 +52,7 @@
46 </appender> 52 </appender>
47 53
48 <root> 54 <root>
55 <level value="DEBUG" />
49 <appender-ref ref="Console" /> 56 <appender-ref ref="Console" />
50 <appender-ref ref="LogFileAppender" /> 57 <appender-ref ref="LogFileAppender" />
51 </root> 58 </root>