Yengine: remove potencial log spam

0.9.1.0-post-fixes
UbitUmarov 2018-11-15 16:57:50 +00:00
parent f44569eee5
commit d537862cc2
1 changed files with 6 additions and 7 deletions

View File

@ -975,7 +975,6 @@ namespace OpenSim.Region.ScriptEngine.Yengine
XMRInstance instance = GetInstance(itemID); XMRInstance instance = GetInstance(itemID);
if(instance != null) if(instance != null)
instance.ApiReset(); instance.ApiReset();
} }
public void ResetScript(UUID itemID) public void ResetScript(UUID itemID)
@ -1211,15 +1210,15 @@ namespace OpenSim.Region.ScriptEngine.Yengine
// Requested engine not defined, warn on console. // Requested engine not defined, warn on console.
// Then we try to handle it if we're the default engine, else we ignore it. // 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.Warn("[YEngine]: " + itemID.ToString() + " requests undefined/disabled engine " + engineName);
m_log.Info("[YEngine]: - " + part.GetWorldPosition()); // m_log.Info("[YEngine]: - " + part.GetWorldPosition());
m_log.Info("[YEngine]: first line: " + firstline); // m_log.Info("[YEngine]: first line: " + firstline);
if(defEngine != ScriptEngineName) 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; 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. // Put on object/instance lists.
@ -1884,7 +1883,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
public static Thread StartMyThread(ThreadStart start, string name, ThreadPriority priority) public static Thread StartMyThread(ThreadStart start, string name, ThreadPriority priority)
{ {
m_log.Debug("[YEngine]: starting thread " + name); 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; return thread;
} }