aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Base
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Base')
-rw-r--r--OpenSim/Server/Base/ServicesServerBase.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs
index 757b2c1..0c00c15 100644
--- a/OpenSim/Server/Base/ServicesServerBase.cs
+++ b/OpenSim/Server/Base/ServicesServerBase.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.IO;
29using System.Xml; 30using System.Xml;
30using System.Threading; 31using System.Threading;
31using System.Reflection; 32using System.Reflection;
@@ -83,10 +84,8 @@ namespace OpenSim.Server.Base
83 84
84 // Automagically create the ini file name 85 // Automagically create the ini file name
85 // 86 //
86 string fullName = Assembly.GetEntryAssembly().FullName; 87 string fileName = Path.GetFileNameWithoutExtension(Assembly.GetEntryAssembly().Location);
87 AssemblyName assemblyName = new AssemblyName(fullName); 88 string iniFile = fileName + ".ini";
88
89 string iniFile = assemblyName.Name + ".ini";
90 89
91 IConfig startupConfig = argvConfig.Configs["Startup"]; 90 IConfig startupConfig = argvConfig.Configs["Startup"];
92 if (startupConfig != null) 91 if (startupConfig != null)
@@ -204,7 +203,8 @@ namespace OpenSim.Server.Base
204 { 203 {
205 if (startupConfig != null) 204 if (startupConfig != null)
206 fileAppender.File = startupConfig.GetString("logfile", 205 fileAppender.File = startupConfig.GetString("logfile",
207 assemblyName.Name + ".log"); 206 fileName + ".log");
207 // assemblyName.Name + ".log");
208 } 208 }
209 209
210 // Register the quit command 210 // Register the quit command