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/EventManager.cs | |
parent | Mantis#1888. Thank you kindly, Tyre for a patch that: (diff) | |
download | opensim-SC-9a8569160f5ca390f25127a73589ac420432a7db.zip opensim-SC-9a8569160f5ca390f25127a73589ac420432a7db.tar.gz opensim-SC-9a8569160f5ca390f25127a73589ac420432a7db.tar.bz2 opensim-SC-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/EventManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 |