From d537862cc231d285c9432b46cef5f5b69188bbb3 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 15 Nov 2018 16:57:50 +0000 Subject: [PATCH] Yengine: remove potencial log spam --- OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs b/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs index 45e44691c2..41f0834139 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs @@ -975,7 +975,6 @@ namespace OpenSim.Region.ScriptEngine.Yengine XMRInstance instance = GetInstance(itemID); if(instance != null) instance.ApiReset(); - } public void ResetScript(UUID itemID) @@ -1211,15 +1210,15 @@ namespace OpenSim.Region.ScriptEngine.Yengine // Requested engine not defined, warn on console. // Then we try to handle it if we're the default engine, else we ignore it. - m_log.Warn("[YEngine]: " + itemID.ToString() + " requests undefined/disabled engine " + engineName); - m_log.Info("[YEngine]: - " + part.GetWorldPosition()); - m_log.Info("[YEngine]: first line: " + firstline); +// m_log.Warn("[YEngine]: " + itemID.ToString() + " requests undefined/disabled engine " + engineName); +// m_log.Info("[YEngine]: - " + part.GetWorldPosition()); +// m_log.Info("[YEngine]: first line: " + firstline); if(defEngine != ScriptEngineName) { - m_log.Info("[YEngine]: leaving it to the default script engine (" + defEngine + ") to process it"); +// m_log.Info("[YEngine]: leaving it to the default script engine (" + defEngine + ") to process it"); return; } - m_log.Info("[YEngine]: will attempt to processing it anyway as default script engine"); +// m_log.Info("[YEngine]: will attempt to processing it anyway as default script engine"); } // Put on object/instance lists. @@ -1884,7 +1883,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine public static Thread StartMyThread(ThreadStart start, string name, ThreadPriority priority) { m_log.Debug("[YEngine]: starting thread " + name); - Thread thread = WorkManager.StartThread(start, name, priority, true, false, false); + Thread thread = WorkManager.StartThread(start, name, priority, false, false); return thread; }