mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Make the opensim.ini logfile option really work (port of a fix from ROBUST)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user