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