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 | |
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')
3 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index 0a2ce15..aacbd55 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |||
@@ -125,19 +125,19 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
125 | 125 | ||
126 | // Get this AppDomain's settings and display some of them. | 126 | // Get this AppDomain's settings and display some of them. |
127 | AppDomainSetup ads = AppDomain.CurrentDomain.SetupInformation; | 127 | AppDomainSetup ads = AppDomain.CurrentDomain.SetupInformation; |
128 | Console.WriteLine("AppName={0}, AppBase={1}, ConfigFile={2}", | 128 | // Console.WriteLine("AppName={0}, AppBase={1}, ConfigFile={2}", |
129 | ads.ApplicationName, | 129 | // ads.ApplicationName, |
130 | ads.ApplicationBase, | 130 | // ads.ApplicationBase, |
131 | ads.ConfigurationFile | 131 | // ads.ConfigurationFile |
132 | ); | 132 | // ); |
133 | 133 | ||
134 | // Display the name of the calling AppDomain and the name | 134 | // Display the name of the calling AppDomain and the name |
135 | // of the second domain. | 135 | // of the second domain. |
136 | // NOTE: The application's thread has transitioned between | 136 | // NOTE: The application's thread has transitioned between |
137 | // AppDomains. | 137 | // AppDomains. |
138 | Console.WriteLine("Calling to '{0}'.", | 138 | // Console.WriteLine("Calling to '{0}'.", |
139 | Thread.GetDomain().FriendlyName | 139 | // Thread.GetDomain().FriendlyName |
140 | ); | 140 | // ); |
141 | 141 | ||
142 | return; | 142 | return; |
143 | } | 143 | } |
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 |