aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Base/ServicesServerBase.cs
diff options
context:
space:
mode:
authorMelanie Thielker2009-07-31 21:00:09 +0000
committerMelanie Thielker2009-07-31 21:00:09 +0000
commitff35a3378edd4a1885cb41f44f91d546d6818139 (patch)
treec6a1463bd09554d793105847770bad36465c59be /OpenSim/Server/Base/ServicesServerBase.cs
parent* Fix a locking issue in the EventQueue (diff)
downloadopensim-SC-ff35a3378edd4a1885cb41f44f91d546d6818139.zip
opensim-SC-ff35a3378edd4a1885cb41f44f91d546d6818139.tar.gz
opensim-SC-ff35a3378edd4a1885cb41f44f91d546d6818139.tar.bz2
opensim-SC-ff35a3378edd4a1885cb41f44f91d546d6818139.tar.xz
Make ROBUST not hang on exit in recent Mono versions. Make the logfile config
setting/commandline option actually work.
Diffstat (limited to 'OpenSim/Server/Base/ServicesServerBase.cs')
-rw-r--r--OpenSim/Server/Base/ServicesServerBase.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs
index 0c00c15..619c2d1 100644
--- a/OpenSim/Server/Base/ServicesServerBase.cs
+++ b/OpenSim/Server/Base/ServicesServerBase.cs
@@ -202,9 +202,13 @@ namespace OpenSim.Server.Base
202 if (fileAppender != null) 202 if (fileAppender != null)
203 { 203 {
204 if (startupConfig != null) 204 if (startupConfig != null)
205 fileAppender.File = startupConfig.GetString("logfile", 205 {
206 fileName + ".log"); 206
207 // assemblyName.Name + ".log"); 207 fileName = startupConfig.GetString("logfile", fileName+".log");
208 fileName = Path.GetFullPath(Path.Combine(".", fileName));
209 fileAppender.File = fileName;
210 fileAppender.ActivateOptions();
211 }
208 } 212 }
209 213
210 // Register the quit command 214 // Register the quit command