aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 8f4eba8..f1091b4 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -80,7 +80,9 @@ namespace OpenSim
80 { 80 {
81 log4net.Appender.FileAppender appender = 81 log4net.Appender.FileAppender appender =
82 (log4net.Appender.FileAppender)m_logFileAppender; 82 (log4net.Appender.FileAppender)m_logFileAppender;
83 appender.File = startupConfig.GetString("LogFile", "OpenSim.log"); 83 string fileName = startupConfig.GetString("LogFile", String.Empty);
84 if (fileName != String.Empty)
85 appender.File = fileName;
84 m_log.InfoFormat("[LOGGING] Logging started to file {0}", appender.File); 86 m_log.InfoFormat("[LOGGING] Logging started to file {0}", appender.File);
85 } 87 }
86 } 88 }