diff options
author | Jeff Ames | 2008-02-07 04:53:42 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-07 04:53:42 +0000 |
commit | 87e2dd7c809de5f1e9a8be1113ab39d3f647b1ca (patch) | |
tree | 33938eeb60f1e2f0f67d1f9d4f07b825313e36e8 /bin/pCampBot.exe.config | |
parent | Update version numbers to 0.5 (diff) | |
download | opensim-SC_OLD-87e2dd7c809de5f1e9a8be1113ab39d3f647b1ca.zip opensim-SC_OLD-87e2dd7c809de5f1e9a8be1113ab39d3f647b1ca.tar.gz opensim-SC_OLD-87e2dd7c809de5f1e9a8be1113ab39d3f647b1ca.tar.bz2 opensim-SC_OLD-87e2dd7c809de5f1e9a8be1113ab39d3f647b1ca.tar.xz |
Convert pCampBot to use log4net
Diffstat (limited to '')
-rw-r--r-- | bin/pCampBot.exe.config | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bin/pCampBot.exe.config b/bin/pCampBot.exe.config new file mode 100644 index 0000000..ff6ce7f --- /dev/null +++ b/bin/pCampBot.exe.config | |||
@@ -0,0 +1,28 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <configuration> | ||
3 | <configSections> | ||
4 | <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> | ||
5 | </configSections> | ||
6 | <appSettings> | ||
7 | </appSettings> | ||
8 | <log4net> | ||
9 | <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console"> | ||
10 | <layout type="log4net.Layout.PatternLayout"> | ||
11 | <conversionPattern value="%date{HH:mm:ss} - %message%newline" /> | ||
12 | </layout> | ||
13 | </appender> | ||
14 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | ||
15 | <file value="pCampBot.log" /> | ||
16 | <appendToFile value="false" /> | ||
17 | <layout type="log4net.Layout.PatternLayout"> | ||
18 | <conversionPattern value="%date %-5level - %logger %message%newline" /> | ||
19 | </layout> | ||
20 | </appender> | ||
21 | |||
22 | <root> | ||
23 | <level value="DEBUG" /> | ||
24 | <appender-ref ref="Console" /> | ||
25 | <appender-ref ref="LogFileAppender" /> | ||
26 | </root> | ||
27 | </log4net> | ||
28 | </configuration> | ||