Make the opensim.ini logfile option really work (port of a fix from ROBUST)

arthursv
Melanie 2009-08-07 14:15:59 +01:00
parent e49abf446a
commit cb10700a1f
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}
}