diff options
author | Charles Krinke | 2008-08-07 15:12:33 +0000 |
---|---|---|
committer | Charles Krinke | 2008-08-07 15:12:33 +0000 |
commit | 9a8569160f5ca390f25127a73589ac420432a7db (patch) | |
tree | 1a1d165c5fa7a67121c52060a0bc126f283fcb3d /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase | |
parent | Mantis#1888. Thank you kindly, Tyre for a patch that: (diff) | |
download | opensim-SC_OLD-9a8569160f5ca390f25127a73589ac420432a7db.zip opensim-SC_OLD-9a8569160f5ca390f25127a73589ac420432a7db.tar.gz opensim-SC_OLD-9a8569160f5ca390f25127a73589ac420432a7db.tar.bz2 opensim-SC_OLD-9a8569160f5ca390f25127a73589ac420432a7db.tar.xz |
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
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/Timer.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/Timer.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/Timer.cs index f6de3c6..09af34a 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/Timer.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/Timer.cs | |||
@@ -59,7 +59,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase.AsyncCommandPlugin | |||
59 | 59 | ||
60 | public void SetTimerEvent(uint m_localID, LLUUID m_itemID, double sec) | 60 | public void SetTimerEvent(uint m_localID, LLUUID m_itemID, double sec) |
61 | { | 61 | { |
62 | Console.WriteLine("SetTimerEvent"); | 62 | // Console.WriteLine("SetTimerEvent"); |
63 | 63 | ||
64 | // Always remove first, in case this is a re-set | 64 | // Always remove first, in case this is a re-set |
65 | UnSetTimerEvents(m_localID, m_itemID); | 65 | UnSetTimerEvents(m_localID, m_itemID); |
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs index 0e852d1..eea7ab4 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | |||
@@ -188,14 +188,14 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
188 | 188 | ||
189 | public void OnRezScript(uint localID, LLUUID itemID, string script, int startParam, bool postOnRez) | 189 | public void OnRezScript(uint localID, LLUUID itemID, string script, int startParam, bool postOnRez) |
190 | { | 190 | { |
191 | Console.WriteLine("OnRezScript localID: " + localID + " LLUID: " + itemID.ToString() + " Size: " + | 191 | myScriptEngine.Log.Debug("OnRezScript localID: " + localID + " LLUID: " + itemID.ToString() + " Size: " + |
192 | script.Length); | 192 | script.Length); |
193 | myScriptEngine.m_ScriptManager.StartScript(localID, itemID, script, startParam, postOnRez); | 193 | myScriptEngine.m_ScriptManager.StartScript(localID, itemID, script, startParam, postOnRez); |
194 | } | 194 | } |
195 | 195 | ||
196 | public void OnRemoveScript(uint localID, LLUUID itemID) | 196 | public void OnRemoveScript(uint localID, LLUUID itemID) |
197 | { | 197 | { |
198 | Console.WriteLine("OnRemoveScript localID: " + localID + " LLUID: " + itemID.ToString()); | 198 | myScriptEngine.Log.Debug("OnRemoveScript localID: " + localID + " LLUID: " + itemID.ToString()); |
199 | myScriptEngine.m_ScriptManager.StopScript( | 199 | myScriptEngine.m_ScriptManager.StopScript( |
200 | localID, | 200 | localID, |
201 | itemID | 201 | itemID |