diff options
Diffstat (limited to 'OpenSim/Server/Base')
-rw-r--r-- | OpenSim/Server/Base/ServicesServerBase.cs | 10 |
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 |