aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorMelanie Thielker2009-05-04 20:15:39 +0000
committerMelanie Thielker2009-05-04 20:15:39 +0000
commitacfb5051cd328ab21aba5bfc2878ce84d496a7f1 (patch)
treee828f8688de36d91c1917a02b651939580168125 /OpenSim/Region/Application
parent* Resolve http://opensimulator.org/mantis/view.php?id=3573 (diff)
downloadopensim-SC-acfb5051cd328ab21aba5bfc2878ce84d496a7f1.zip
opensim-SC-acfb5051cd328ab21aba5bfc2878ce84d496a7f1.tar.gz
opensim-SC-acfb5051cd328ab21aba5bfc2878ce84d496a7f1.tar.bz2
opensim-SC-acfb5051cd328ab21aba5bfc2878ce84d496a7f1.tar.xz
Intermediate commit. WILL NOT COMPILE!
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs10
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs2
2 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 5ba377b..8f4eba8 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -74,6 +74,16 @@ namespace OpenSim
74 m_gui = startupConfig.GetBoolean("gui", false); 74 m_gui = startupConfig.GetBoolean("gui", false);
75 75
76 m_timedScript = startupConfig.GetString("timer_Script", "disabled"); 76 m_timedScript = startupConfig.GetString("timer_Script", "disabled");
77 if (m_logFileAppender != null)
78 {
79 if (m_logFileAppender is log4net.Appender.FileAppender)
80 {
81 log4net.Appender.FileAppender appender =
82 (log4net.Appender.FileAppender)m_logFileAppender;
83 appender.File = startupConfig.GetString("LogFile", "OpenSim.log");
84 m_log.InfoFormat("[LOGGING] Logging started to file {0}", appender.File);
85 }
86 }
77 } 87 }
78 } 88 }
79 89
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index af7b707..21fd5dd 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -40,7 +40,7 @@ using OpenSim.Framework.Communications.Services;
40using OpenSim.Framework.Communications.Cache; 40using OpenSim.Framework.Communications.Cache;
41using OpenSim.Framework.Console; 41using OpenSim.Framework.Console;
42using OpenSim.Framework.Servers; 42using OpenSim.Framework.Servers;
43using OpenSim.Framework.Servers.Interfaces; 43using OpenSim.Framework.Servers.HttpServer;
44using OpenSim.Framework.Statistics; 44using OpenSim.Framework.Statistics;
45using OpenSim.Region.ClientStack; 45using OpenSim.Region.ClientStack;
46using OpenSim.Region.Framework; 46using OpenSim.Region.Framework;