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