diff options
author | Melanie Thielker | 2009-05-09 02:49:55 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-09 02:49:55 +0000 |
commit | c1e7352d75b62b6c97e79c4fdb37b9493aba697a (patch) | |
tree | 0bf2e2b12fafc2fc08dce9c50a0fa198b787979c /OpenSim/Region/Application | |
parent | FInish basic asset server functionality on the new asset server (diff) | |
download | opensim-SC_OLD-c1e7352d75b62b6c97e79c4fdb37b9493aba697a.zip opensim-SC_OLD-c1e7352d75b62b6c97e79c4fdb37b9493aba697a.tar.gz opensim-SC_OLD-c1e7352d75b62b6c97e79c4fdb37b9493aba697a.tar.bz2 opensim-SC_OLD-c1e7352d75b62b6c97e79c4fdb37b9493aba697a.tar.xz |
Add the asset service connectors and sample config. READ WARNINGS!!!
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 4 |
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 | } |