Make RegionReady login disabled during initialization message a console messages instead of a warning message.

Same justification as earlier commit 996a6c2.  These are not warnings but should still be visible to the user at any log level.
0.8.0.3
Justin Clark-Casey (justincc) 2014-05-27 23:15:50 +01:00
parent 464d31b70b
commit 9ca86664bb
1 changed files with 4 additions and 2 deletions

View File

@ -105,8 +105,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
m_scene.LoginLock = true;
m_scene.EventManager.OnEmptyScriptCompileQueue += OnEmptyScriptCompileQueue;
// Warn level because the region cannot be used while logins are disabled
m_log.WarnFormat("[RegionReady]: Region {0} - LOGINS DISABLED DURING INITIALIZATION.", m_scene.Name);
// This should always show up to the user but should not trigger warn/errors as these messages are
// expected and are not simulator problems. Ideally, there would be a status level in log4net but
// failing that, we will print out to console instead.
MainConsole.Instance.OutputFormat("Region {0} - LOGINS DISABLED DURING INITIALIZATION.", m_scene.Name);
if (m_uri != string.Empty)
{