diff options
author | Jeff Ames | 2008-02-05 19:44:27 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-05 19:44:27 +0000 |
commit | 6ed5283bc06a62f38eb517e67b975832b603bf61 (patch) | |
tree | e5f635018789b73a99ddeca0883a68368fa5eece /bin/OpenSim.Grid.MessagingServer.exe.config | |
parent | Cut down on the number of packets sent during terraforming. Terraforming shou... (diff) | |
download | opensim-SC-6ed5283bc06a62f38eb517e67b975832b603bf61.zip opensim-SC-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.gz opensim-SC-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.bz2 opensim-SC-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.xz |
Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
Diffstat (limited to 'bin/OpenSim.Grid.MessagingServer.exe.config')
-rw-r--r-- | bin/OpenSim.Grid.MessagingServer.exe.config | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bin/OpenSim.Grid.MessagingServer.exe.config b/bin/OpenSim.Grid.MessagingServer.exe.config new file mode 100644 index 0000000..2e240e0 --- /dev/null +++ b/bin/OpenSim.Grid.MessagingServer.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="log4net.Appender.ConsoleAppender"> | ||
10 | <layout type="log4net.Layout.PatternLayout"> | ||
11 | <conversionPattern value="%date %-5level %logger - %message%newline" /> | ||
12 | </layout> | ||
13 | </appender> | ||
14 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | ||
15 | <file value="OpenSim.Grid.MessagingServer.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> | ||