diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 524dd4c..629fed6 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -82,7 +82,10 @@ namespace OpenSim | |||
82 | (log4net.Appender.FileAppender)m_logFileAppender; | 82 | (log4net.Appender.FileAppender)m_logFileAppender; |
83 | string fileName = startupConfig.GetString("LogFile", String.Empty); | 83 | string fileName = startupConfig.GetString("LogFile", String.Empty); |
84 | if (fileName != String.Empty) | 84 | if (fileName != String.Empty) |
85 | { | ||
85 | appender.File = fileName; | 86 | appender.File = fileName; |
87 | appender.ActivateOptions(); | ||
88 | } | ||
86 | m_log.InfoFormat("[LOGGING] Logging started to file {0}", appender.File); | 89 | m_log.InfoFormat("[LOGGING] Logging started to file {0}", appender.File); |
87 | } | 90 | } |
88 | } | 91 | } |