From cb10700a1fa8c24bdfc4f07c3fa2436ed869b159 Mon Sep 17 00:00:00 2001 From: Melanie Date: Fri, 7 Aug 2009 14:15:59 +0100 Subject: Make the opensim.ini logfile option really work (port of a fix from ROBUST) --- OpenSim/Region/Application/OpenSim.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region') 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 (log4net.Appender.FileAppender)m_logFileAppender; string fileName = startupConfig.GetString("LogFile", String.Empty); if (fileName != String.Empty) + { appender.File = fileName; + appender.ActivateOptions(); + } m_log.InfoFormat("[LOGGING] Logging started to file {0}", appender.File); } } -- cgit v1.1