diff options
author | Justin Clark-Casey (justincc) | 2014-08-13 19:53:42 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-08-13 19:53:42 +0100 |
commit | f1f935ed9543141cc5861a7204b6df85a7358ab4 (patch) | |
tree | a16c08b5df4397b96a306c45583d804745df8698 /bin/pCampBot.exe.config | |
parent | For pCampbot, set max number of permitted connections to an endpoint to int.M... (diff) | |
download | opensim-SC-f1f935ed9543141cc5861a7204b6df85a7358ab4.zip opensim-SC-f1f935ed9543141cc5861a7204b6df85a7358ab4.tar.gz opensim-SC-f1f935ed9543141cc5861a7204b6df85a7358ab4.tar.bz2 opensim-SC-f1f935ed9543141cc5861a7204b6df85a7358ab4.tar.xz |
Add 'server' stats information to pCampbot, as used elsewhere in OpenSimulator
This adds the "show stats", "stats record", etc. commands and information on available Threadpool threads, etc.
It also adds the Watchdog which logs warnings if time between executions is unexpectedly large.
Diffstat (limited to '')
-rwxr-xr-x | bin/pCampBot.exe.config | 21 |
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> |