mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Make ROBUST not hang on exit in recent Mono versions. Make the logfile config
setting/commandline option actually work.
This commit is contained in:
@@ -202,9 +202,13 @@ namespace OpenSim.Server.Base
|
||||
if (fileAppender != null)
|
||||
{
|
||||
if (startupConfig != null)
|
||||
fileAppender.File = startupConfig.GetString("logfile",
|
||||
fileName + ".log");
|
||||
// assemblyName.Name + ".log");
|
||||
{
|
||||
|
||||
fileName = startupConfig.GetString("logfile", fileName+".log");
|
||||
fileName = Path.GetFullPath(Path.Combine(".", fileName));
|
||||
fileAppender.File = fileName;
|
||||
fileAppender.ActivateOptions();
|
||||
}
|
||||
}
|
||||
|
||||
// Register the quit command
|
||||
|
||||
Reference in New Issue
Block a user