diff options
author | Melanie Thielker | 2009-05-04 20:15:39 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-04 20:15:39 +0000 |
commit | acfb5051cd328ab21aba5bfc2878ce84d496a7f1 (patch) | |
tree | e828f8688de36d91c1917a02b651939580168125 /OpenSim/Region/Application/OpenSim.cs | |
parent | * Resolve http://opensimulator.org/mantis/view.php?id=3573 (diff) | |
download | opensim-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/OpenSim.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 10 |
1 files changed, 10 insertions, 0 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 | ||