aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2018-11-15 16:57:50 +0000
committerUbitUmarov2018-11-15 16:57:50 +0000
commitd537862cc231d285c9432b46cef5f5b69188bbb3 (patch)
treee713edbbeab5eb4f90a285d3f568e2fca68718f7 /OpenSim/Region
parentYengine: ignore llResetScript() in default state_entry like X does. No idea w... (diff)
downloadopensim-SC-d537862cc231d285c9432b46cef5f5b69188bbb3.zip
opensim-SC-d537862cc231d285c9432b46cef5f5b69188bbb3.tar.gz
opensim-SC-d537862cc231d285c9432b46cef5f5b69188bbb3.tar.bz2
opensim-SC-d537862cc231d285c9432b46cef5f5b69188bbb3.tar.xz
Yengine: remove potencial log spam
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs13
1 files changed, 6 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs b/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs
index 45e4469..41f0834 100644
--- a/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs
+++ b/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs
@@ -975,7 +975,6 @@ namespace OpenSim.Region.ScriptEngine.Yengine
975 XMRInstance instance = GetInstance(itemID); 975 XMRInstance instance = GetInstance(itemID);
976 if(instance != null) 976 if(instance != null)
977 instance.ApiReset(); 977 instance.ApiReset();
978
979 } 978 }
980 979
981 public void ResetScript(UUID itemID) 980 public void ResetScript(UUID itemID)
@@ -1211,15 +1210,15 @@ namespace OpenSim.Region.ScriptEngine.Yengine
1211 1210
1212 // Requested engine not defined, warn on console. 1211 // Requested engine not defined, warn on console.
1213 // Then we try to handle it if we're the default engine, else we ignore it. 1212 // Then we try to handle it if we're the default engine, else we ignore it.
1214 m_log.Warn("[YEngine]: " + itemID.ToString() + " requests undefined/disabled engine " + engineName); 1213// m_log.Warn("[YEngine]: " + itemID.ToString() + " requests undefined/disabled engine " + engineName);
1215 m_log.Info("[YEngine]: - " + part.GetWorldPosition()); 1214// m_log.Info("[YEngine]: - " + part.GetWorldPosition());
1216 m_log.Info("[YEngine]: first line: " + firstline); 1215// m_log.Info("[YEngine]: first line: " + firstline);
1217 if(defEngine != ScriptEngineName) 1216 if(defEngine != ScriptEngineName)
1218 { 1217 {
1219 m_log.Info("[YEngine]: leaving it to the default script engine (" + defEngine + ") to process it"); 1218// m_log.Info("[YEngine]: leaving it to the default script engine (" + defEngine + ") to process it");
1220 return; 1219 return;
1221 } 1220 }
1222 m_log.Info("[YEngine]: will attempt to processing it anyway as default script engine"); 1221// m_log.Info("[YEngine]: will attempt to processing it anyway as default script engine");
1223 } 1222 }
1224 1223
1225 // Put on object/instance lists. 1224 // Put on object/instance lists.
@@ -1884,7 +1883,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
1884 public static Thread StartMyThread(ThreadStart start, string name, ThreadPriority priority) 1883 public static Thread StartMyThread(ThreadStart start, string name, ThreadPriority priority)
1885 { 1884 {
1886 m_log.Debug("[YEngine]: starting thread " + name); 1885 m_log.Debug("[YEngine]: starting thread " + name);
1887 Thread thread = WorkManager.StartThread(start, name, priority, true, false, false); 1886 Thread thread = WorkManager.StartThread(start, name, priority, false, false);
1888 return thread; 1887 return thread;
1889 } 1888 }
1890 1889