diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 524dd4c94c..629fed61ee 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); } }