aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting
diff options
context:
space:
mode:
authoronefang2019-05-19 22:35:04 +1000
committeronefang2019-05-19 22:35:04 +1000
commit3d02be83b5230619fbcbc12fa120b202c83816cb (patch)
treed95c2c8c2f067856e974339d15d2a4454d6c0d6d /OpenSim/Region/OptionalModules/Scripting
parentProfileServiceURL not ProfileURL (diff)
downloadopensim-SC-3d02be83b5230619fbcbc12fa120b202c83816cb.zip
opensim-SC-3d02be83b5230619fbcbc12fa120b202c83816cb.tar.gz
opensim-SC-3d02be83b5230619fbcbc12fa120b202c83816cb.tar.bz2
opensim-SC-3d02be83b5230619fbcbc12fa120b202c83816cb.tar.xz
Better sim startup console notification.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
index a1dd711..555b2f6 100644
--- a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
@@ -103,7 +103,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
103 if (m_disable_logins) 103 if (m_disable_logins)
104 { 104 {
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 // This should always show up to the user but should not trigger warn/errors as these messages are 108 // This should always show up to the user but should not trigger warn/errors as these messages are
109 // expected and are not simulator problems. Ideally, there would be a status level in log4net but 109 // expected and are not simulator problems. Ideally, there would be a status level in log4net but
@@ -115,6 +115,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
115 RRAlert("disabled"); 115 RRAlert("disabled");
116 } 116 }
117 } 117 }
118 m_scene.EventManager.OnEmptyScriptCompileQueue += OnEmptyScriptCompileQueue;
118 } 119 }
119 120
120 public void RemoveRegion(Scene scene) 121 public void RemoveRegion(Scene scene)
@@ -229,7 +230,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
229 // without info log messages enabled. Making this a warning is arguably misleading since it isn't a 230 // without info log messages enabled. Making this a warning is arguably misleading since it isn't a
230 // warning, and monitor scripts looking for warn/error/fatal messages will received false positives. 231 // warning, and monitor scripts looking for warn/error/fatal messages will received false positives.
231 // Arguably, log4net needs a status log level (like Apache). 232 // Arguably, log4net needs a status log level (like Apache).
232 MainConsole.Instance.OutputFormat("INITIALIZATION COMPLETE FOR {0} - LOGINS ENABLED", m_scene.Name); 233 if (m_disable_logins)
234 m_log.InfoFormat("[RegionReady]: INITIALIZATION COMPLETE FOR {0} - LOGINS ENABLED", m_scene.Name);
235 else
236 m_log.InfoFormat("[RegionReady]: INITIALIZATION COMPLETE FOR {0}", m_scene.Name);
233 } 237 }
234 238
235 m_scene.SceneGridService.InformNeighborsThatRegionisUp( 239 m_scene.SceneGridService.InformNeighborsThatRegionisUp(