diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 5ba377b..8f4eba8 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -74,6 +74,16 @@ namespace OpenSim | |||
74 | m_gui = startupConfig.GetBoolean("gui", false); | 74 | m_gui = startupConfig.GetBoolean("gui", false); |
75 | 75 | ||
76 | m_timedScript = startupConfig.GetString("timer_Script", "disabled"); | 76 | m_timedScript = startupConfig.GetString("timer_Script", "disabled"); |
77 | if (m_logFileAppender != null) | ||
78 | { | ||
79 | if (m_logFileAppender is log4net.Appender.FileAppender) | ||
80 | { | ||
81 | log4net.Appender.FileAppender appender = | ||
82 | (log4net.Appender.FileAppender)m_logFileAppender; | ||
83 | appender.File = startupConfig.GetString("LogFile", "OpenSim.log"); | ||
84 | m_log.InfoFormat("[LOGGING] Logging started to file {0}", appender.File); | ||
85 | } | ||
86 | } | ||
77 | } | 87 | } |
78 | } | 88 | } |
79 | 89 | ||