Mantis#1899. Thank you kindly, Cmickeyb for a patch that:

attached are some patches to either comment out direct 
console writes or to convert them to log writes
0.6.0-stable
Charles Krinke 2008-08-07 15:12:33 +00:00
parent b72cc7df01
commit 9a8569160f
3 changed files with 11 additions and 11 deletions

View File

@ -125,19 +125,19 @@ namespace OpenSim.Region.ScriptEngine.Common
// Get this AppDomain's settings and display some of them.
AppDomainSetup ads = AppDomain.CurrentDomain.SetupInformation;
Console.WriteLine("AppName={0}, AppBase={1}, ConfigFile={2}",
ads.ApplicationName,
ads.ApplicationBase,
ads.ConfigurationFile
);
// Console.WriteLine("AppName={0}, AppBase={1}, ConfigFile={2}",
// ads.ApplicationName,
// ads.ApplicationBase,
// ads.ConfigurationFile
// );
// Display the name of the calling AppDomain and the name
// of the second domain.
// NOTE: The application's thread has transitioned between
// AppDomains.
Console.WriteLine("Calling to '{0}'.",
Thread.GetDomain().FriendlyName
);
// Console.WriteLine("Calling to '{0}'.",
// Thread.GetDomain().FriendlyName
// );
return;
}

View File

@ -59,7 +59,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase.AsyncCommandPlugin
public void SetTimerEvent(uint m_localID, LLUUID m_itemID, double sec)
{
Console.WriteLine("SetTimerEvent");
// Console.WriteLine("SetTimerEvent");
// Always remove first, in case this is a re-set
UnSetTimerEvents(m_localID, m_itemID);

View File

@ -188,14 +188,14 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
public void OnRezScript(uint localID, LLUUID itemID, string script, int startParam, bool postOnRez)
{
Console.WriteLine("OnRezScript localID: " + localID + " LLUID: " + itemID.ToString() + " Size: " +
myScriptEngine.Log.Debug("OnRezScript localID: " + localID + " LLUID: " + itemID.ToString() + " Size: " +
script.Length);
myScriptEngine.m_ScriptManager.StartScript(localID, itemID, script, startParam, postOnRez);
}
public void OnRemoveScript(uint localID, LLUUID itemID)
{
Console.WriteLine("OnRemoveScript localID: " + localID + " LLUID: " + itemID.ToString());
myScriptEngine.Log.Debug("OnRemoveScript localID: " + localID + " LLUID: " + itemID.ToString());
myScriptEngine.m_ScriptManager.StopScript(
localID,
itemID