aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorJeff Ames2008-02-05 19:44:27 +0000
committerJeff Ames2008-02-05 19:44:27 +0000
commit6ed5283bc06a62f38eb517e67b975832b603bf61 (patch)
treee5f635018789b73a99ddeca0883a68368fa5eece /bin
parentCut down on the number of packets sent during terraforming. Terraforming shou... (diff)
downloadopensim-SC_OLD-6ed5283bc06a62f38eb517e67b975832b603bf61.zip
opensim-SC_OLD-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.gz
opensim-SC_OLD-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.bz2
opensim-SC_OLD-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')
-rw-r--r--bin/OpenSim.32BitLaunch.exe.config28
-rw-r--r--bin/OpenSim.Grid.AssetServer.exe.config28
-rw-r--r--bin/OpenSim.Grid.GridServer.exe.config28
-rw-r--r--bin/OpenSim.Grid.InventoryServer.exe.config28
-rw-r--r--bin/OpenSim.Grid.MessagingServer.exe.config28
-rw-r--r--bin/OpenSim.Grid.ScriptServer.exe.config28
-rw-r--r--bin/OpenSim.Grid.UserServer.exe.config28
-rw-r--r--bin/OpenSim.exe.config28
-rw-r--r--bin/OpenSimExport.exe.config28
-rw-r--r--bin/SimpleApp.exe.config28
10 files changed, 280 insertions, 0 deletions
diff --git a/bin/OpenSim.32BitLaunch.exe.config b/bin/OpenSim.32BitLaunch.exe.config
new file mode 100644
index 0000000..ebe552b
--- /dev/null
+++ b/bin/OpenSim.32BitLaunch.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.32BitLaunch.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>
diff --git a/bin/OpenSim.Grid.AssetServer.exe.config b/bin/OpenSim.Grid.AssetServer.exe.config
new file mode 100644
index 0000000..21bd6a0
--- /dev/null
+++ b/bin/OpenSim.Grid.AssetServer.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.AssetServer.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>
diff --git a/bin/OpenSim.Grid.GridServer.exe.config b/bin/OpenSim.Grid.GridServer.exe.config
new file mode 100644
index 0000000..170db91
--- /dev/null
+++ b/bin/OpenSim.Grid.GridServer.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.GridServer.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>
diff --git a/bin/OpenSim.Grid.InventoryServer.exe.config b/bin/OpenSim.Grid.InventoryServer.exe.config
new file mode 100644
index 0000000..a8e75b1
--- /dev/null
+++ b/bin/OpenSim.Grid.InventoryServer.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.InventoryServer.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>
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>
diff --git a/bin/OpenSim.Grid.ScriptServer.exe.config b/bin/OpenSim.Grid.ScriptServer.exe.config
new file mode 100644
index 0000000..5e58f58
--- /dev/null
+++ b/bin/OpenSim.Grid.ScriptServer.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.ScriptServer.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>
diff --git a/bin/OpenSim.Grid.UserServer.exe.config b/bin/OpenSim.Grid.UserServer.exe.config
new file mode 100644
index 0000000..63f62ba
--- /dev/null
+++ b/bin/OpenSim.Grid.UserServer.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.UserServer.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>
diff --git a/bin/OpenSim.exe.config b/bin/OpenSim.exe.config
new file mode 100644
index 0000000..9d2aaed
--- /dev/null
+++ b/bin/OpenSim.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.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>
diff --git a/bin/OpenSimExport.exe.config b/bin/OpenSimExport.exe.config
new file mode 100644
index 0000000..fce85b2
--- /dev/null
+++ b/bin/OpenSimExport.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="OpenSimExport.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>
diff --git a/bin/SimpleApp.exe.config b/bin/SimpleApp.exe.config
new file mode 100644
index 0000000..3156c73
--- /dev/null
+++ b/bin/SimpleApp.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="SimpleApp.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>