Removed some script engine noise from console

0.6.0-stable
Tedd Hansen 2008-04-20 11:58:14 +00:00
parent 8a13edb115
commit 16275ca26d
4 changed files with 8 additions and 8 deletions

View File

@ -80,7 +80,7 @@ namespace OpenSim.Region.ScriptEngine.Common
//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
#if DEBUG
Console.WriteLine("ScriptEngine: Executing function name: " + EventName);
//Console.WriteLine("ScriptEngine: Executing function name: " + EventName);
#endif
// Found
ev.Invoke(m_Script, args);

View File

@ -231,7 +231,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
{
EventQueueThreadClass eqtc = new EventQueueThreadClass();
eventQueueThreads.Add(eqtc);
m_ScriptEngine.Log.Debug("[" + m_ScriptEngine.ScriptEngineName + "]: Started new script execution thread. Current thread count: " + eventQueueThreads.Count);
//m_ScriptEngine.Log.Debug("[" + m_ScriptEngine.ScriptEngineName + "]: Started new script execution thread. Current thread count: " + eventQueueThreads.Count);
}
private void AbortThreadClass(EventQueueThreadClass threadClass)

View File

@ -130,7 +130,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
else
{
#if DEBUG
m_scriptEngine.Log.Debug("[" + m_scriptEngine.ScriptEngineName + "]: Config OK. Compiler recognized language type \"" + strlan + "\" specified in \"AllowedCompilers\".");
//m_scriptEngine.Log.Debug("[" + m_scriptEngine.ScriptEngineName + "]: Config OK. Compiler recognized language type \"" + strlan + "\" specified in \"AllowedCompilers\".");
#endif
}
AllowedCompilers.Add(strlan, true);
@ -158,8 +158,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
else
{
#if DEBUG
m_scriptEngine.Log.Debug("[" + m_scriptEngine.ScriptEngineName + "]: " +
"Config OK. Default language \"" + defaultCompileLanguage + "\" specified in \"DefaultCompileLanguage\" is recognized as a valid language.");
// m_scriptEngine.Log.Debug("[" + m_scriptEngine.ScriptEngineName + "]: " +
// "Config OK. Default language \"" + defaultCompileLanguage + "\" specified in \"DefaultCompileLanguage\" is recognized as a valid language.");
#endif
// LANGUAGE IS IN ALLOW-LIST
DefaultCompileLanguage = LanguageMapping[defaultCompileLanguage];

View File

@ -66,14 +66,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
// We will initialize and start the script.
// It will be up to the script itself to hook up the correct events.
string ScriptSource = String.Empty;
string CompiledScriptFile = String.Empty;
SceneObjectPart m_host = World.GetSceneObjectPart(localID);
try
{
// Compile (We assume LSL)
ScriptSource = LSLCompiler.PerformScriptCompile(Script);
CompiledScriptFile = LSLCompiler.PerformScriptCompile(Script);
//#if DEBUG
//long before;
@ -81,7 +81,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
//#endif
IScript CompiledScript;
CompiledScript = m_scriptEngine.m_AppDomainManager.LoadScript(ScriptSource);
CompiledScript = m_scriptEngine.m_AppDomainManager.LoadScript(CompiledScriptFile);
//#if DEBUG
//m_scriptEngine.Log.DebugFormat("[" + m_scriptEngine.ScriptEngineName + "]: Script " + itemID + " occupies {0} bytes", GC.GetTotalMemory(true) - before);