diff options
author | Mic Bowman | 2013-11-27 12:01:09 -0800 |
---|---|---|
committer | Mic Bowman | 2013-11-27 12:01:09 -0800 |
commit | 73dadef8df794868f8db59cc2dca0cae090bb536 (patch) | |
tree | 95fa7e8cc6ffea10c9c8cdb848fe20ac9a15a579 | |
parent | "rotate scene" command now uses Constants.RegionSize / 2 to pick the center o... (diff) | |
download | opensim-SC_OLD-73dadef8df794868f8db59cc2dca0cae090bb536.zip opensim-SC_OLD-73dadef8df794868f8db59cc2dca0cae090bb536.tar.gz opensim-SC_OLD-73dadef8df794868f8db59cc2dca0cae090bb536.tar.bz2 opensim-SC_OLD-73dadef8df794868f8db59cc2dca0cae090bb536.tar.xz |
Change the log level for the LOGIN DISABLED and LOGIN ENABLED messages is
the RegionReady module to be warn so that the message will show up in the
log for simulators running in a more production mode (knowing when logins
are functional is useful).
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs index c550c44..c717128 100644 --- a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs | |||
@@ -105,7 +105,8 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady | |||
105 | m_scene.LoginLock = true; | 105 | m_scene.LoginLock = true; |
106 | m_scene.EventManager.OnEmptyScriptCompileQueue += OnEmptyScriptCompileQueue; | 106 | m_scene.EventManager.OnEmptyScriptCompileQueue += OnEmptyScriptCompileQueue; |
107 | 107 | ||
108 | m_log.InfoFormat("[RegionReady]: Region {0} - LOGINS DISABLED DURING INITIALIZATION.", m_scene.Name); | 108 | // Warn level because the region cannot be used while logins are disabled |
109 | m_log.WarnFormat("[RegionReady]: Region {0} - LOGINS DISABLED DURING INITIALIZATION.", m_scene.Name); | ||
109 | 110 | ||
110 | if (m_uri != string.Empty) | 111 | if (m_uri != string.Empty) |
111 | { | 112 | { |
@@ -215,7 +216,8 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady | |||
215 | // m_log.InfoFormat("[RegionReady]: Logins enabled for {0}, Oar {1}", | 216 | // m_log.InfoFormat("[RegionReady]: Logins enabled for {0}, Oar {1}", |
216 | // m_scene.RegionInfo.RegionName, m_oarFileLoading.ToString()); | 217 | // m_scene.RegionInfo.RegionName, m_oarFileLoading.ToString()); |
217 | 218 | ||
218 | m_log.InfoFormat( | 219 | // Warn level because the region cannot be used while logins are disabled |
220 | m_log.WarnFormat( | ||
219 | "[RegionReady]: INITIALIZATION COMPLETE FOR {0} - LOGINS ENABLED", m_scene.Name); | 221 | "[RegionReady]: INITIALIZATION COMPLETE FOR {0} - LOGINS ENABLED", m_scene.Name); |
220 | } | 222 | } |
221 | 223 | ||