aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie2009-08-07 14:15:59 +0100
committerMelanie2009-08-07 14:15:59 +0100
commitcb10700a1fa8c24bdfc4f07c3fa2436ed869b159 (patch)
tree80251252c2e5c85b3387141bd9f074aaa2071fc4 /OpenSim/Region
parentMerge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-cb10700a1fa8c24bdfc4f07c3fa2436ed869b159.zip
opensim-SC_OLD-cb10700a1fa8c24bdfc4f07c3fa2436ed869b159.tar.gz
opensim-SC_OLD-cb10700a1fa8c24bdfc4f07c3fa2436ed869b159.tar.bz2
opensim-SC_OLD-cb10700a1fa8c24bdfc4f07c3fa2436ed869b159.tar.xz
Make the opensim.ini logfile option really work (port of a fix from ROBUST)
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 524dd4c..629fed6 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -82,7 +82,10 @@ namespace OpenSim
82 (log4net.Appender.FileAppender)m_logFileAppender; 82 (log4net.Appender.FileAppender)m_logFileAppender;
83 string fileName = startupConfig.GetString("LogFile", String.Empty); 83 string fileName = startupConfig.GetString("LogFile", String.Empty);
84 if (fileName != String.Empty) 84 if (fileName != String.Empty)
85 {
85 appender.File = fileName; 86 appender.File = fileName;
87 appender.ActivateOptions();
88 }
86 m_log.InfoFormat("[LOGGING] Logging started to file {0}", appender.File); 89 m_log.InfoFormat("[LOGGING] Logging started to file {0}", appender.File);
87 } 90 }
88 } 91 }