aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/pCampBot.exe.config
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pCampBot.exe.config')
-rwxr-xr-xbin/pCampBot.exe.config21
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/pCampBot.exe.config b/bin/pCampBot.exe.config
index 89350b0..f017309 100755
--- a/bin/pCampBot.exe.config
+++ b/bin/pCampBot.exe.config
@@ -10,6 +10,10 @@
10 </appSettings> 10 </appSettings>
11 <log4net> 11 <log4net>
12 <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console"> 12 <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
13 <filter type="log4net.Filter.LoggerMatchFilter">
14 <loggerToMatch value="special"/>
15 <acceptOnMatch value="false"/>
16 </filter>
13 <layout type="log4net.Layout.PatternLayout"> 17 <layout type="log4net.Layout.PatternLayout">
14 <conversionPattern value="%date{HH:mm:ss.fff} - %message" /> 18 <conversionPattern value="%date{HH:mm:ss.fff} - %message" />
15 </layout> 19 </layout>
@@ -17,15 +21,32 @@
17 <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> 21 <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
18 <file value="pCampBot.log" /> 22 <file value="pCampBot.log" />
19 <appendToFile value="true" /> 23 <appendToFile value="true" />
24 <filter type="log4net.Filter.LoggerMatchFilter">
25 <loggerToMatch value="special"/>
26 <acceptOnMatch value="false"/>
27 </filter>
20 <layout type="log4net.Layout.PatternLayout"> 28 <layout type="log4net.Layout.PatternLayout">
21 <conversionPattern value="%date %-5level - %logger %message%newline" /> 29 <conversionPattern value="%date %-5level - %logger %message%newline" />
22 </layout> 30 </layout>
23 </appender> 31 </appender>
24 32
33 <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender">
34 <file value="pCampBotStats.log"/>
35 <appendToFile value="true" />
36 <layout type="log4net.Layout.PatternLayout">
37 <conversionPattern value="%date - %message%newline" />
38 </layout>
39 </appender>
40
25 <root> 41 <root>
26 <level value="DEBUG" /> 42 <level value="DEBUG" />
27 <appender-ref ref="Console" /> 43 <appender-ref ref="Console" />
28 <appender-ref ref="LogFileAppender" /> 44 <appender-ref ref="LogFileAppender" />
29 </root> 45 </root>
46
47 <!-- used for stats recording -->
48 <logger name="special.StatsLogger">
49 <appender-ref ref="StatsLogFileAppender"/>
50 </logger>
30 </log4net> 51 </log4net>
31</configuration> 52</configuration>