aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules
diff options
context:
space:
mode:
authoronefang2020-09-08 21:20:28 +1000
committeronefang2020-09-08 21:20:28 +1000
commitc3f6c86c519d9934bfd1b9b0bf036381b10a87df (patch)
tree1d9d701356408824e6ee2b33ead0ff18bca94a47 /OpenSim/Region/OptionalModules
parentMove various paths out of the bin directory. (diff)
downloadopensim-SC-c3f6c86c519d9934bfd1b9b0bf036381b10a87df.zip
opensim-SC-c3f6c86c519d9934bfd1b9b0bf036381b10a87df.tar.gz
opensim-SC-c3f6c86c519d9934bfd1b9b0bf036381b10a87df.tar.bz2
opensim-SC-c3f6c86c519d9934bfd1b9b0bf036381b10a87df.tar.xz
Better ROBUST and sim startup console notification.
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rwxr-xr-xOpenSim/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 fb059bd..988ada1 100755
--- a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
@@ -104,7 +104,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
104 if (m_disable_logins) 104 if (m_disable_logins)
105 { 105 {
106 m_scene.LoginLock = true; 106 m_scene.LoginLock = true;
107 m_scene.EventManager.OnEmptyScriptCompileQueue += OnEmptyScriptCompileQueue; 107//// m_scene.EventManager.OnEmptyScriptCompileQueue += OnEmptyScriptCompileQueue;
108 108
109 // This should always show up to the user but should not trigger warn/errors as these messages are 109 // This should always show up to the user but should not trigger warn/errors as these messages are
110 // expected and are not simulator problems. Ideally, there would be a status level in log4net but 110 // expected and are not simulator problems. Ideally, there would be a status level in log4net but
@@ -116,6 +116,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
116 RRAlert("disabled"); 116 RRAlert("disabled");
117 } 117 }
118 } 118 }
119 m_scene.EventManager.OnEmptyScriptCompileQueue += OnEmptyScriptCompileQueue;
119 } 120 }
120 121
121 public void RemoveRegion(Scene scene) 122 public void RemoveRegion(Scene scene)
@@ -232,7 +233,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
232 // without info log messages enabled. Making this a warning is arguably misleading since it isn't a 233 // without info log messages enabled. Making this a warning is arguably misleading since it isn't a
233 // warning, and monitor scripts looking for warn/error/fatal messages will received false positives. 234 // warning, and monitor scripts looking for warn/error/fatal messages will received false positives.
234 // Arguably, log4net needs a status log level (like Apache). 235 // Arguably, log4net needs a status log level (like Apache).
235 MainConsole.Instance.Output("INITIALIZATION COMPLETE FOR {0} - LOGINS ENABLED", m_scene.Name); 236 if (m_disable_logins)
237 m_log.InfoFormat("[RegionReady]: INITIALIZATION COMPLETE FOR {0} - LOGINS ENABLED", m_scene.Name);
238 else
239 m_log.InfoFormat("[RegionReady]: INITIALIZATION COMPLETE FOR {0}", m_scene.Name);
236 } 240 }
237 241
238 m_scene.SceneGridService.InformNeighborsThatRegionisUp( 242 m_scene.SceneGridService.InformNeighborsThatRegionisUp(