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