diff options
author | Jeff Ames | 2009-02-22 01:26:18 +0000 |
---|---|---|
committer | Jeff Ames | 2009-02-22 01:26:18 +0000 |
commit | 818af9d4827ea66358abbc3929d20e09861c7306 (patch) | |
tree | 097254f7d203fff8547c30061540bc01e4f84d12 /OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs | |
parent | Addresses some issues with appearance after TPs. Appearance.Owner was not bei... (diff) | |
download | opensim-SC-818af9d4827ea66358abbc3929d20e09861c7306.zip opensim-SC-818af9d4827ea66358abbc3929d20e09861c7306.tar.gz opensim-SC-818af9d4827ea66358abbc3929d20e09861c7306.tar.bz2 opensim-SC-818af9d4827ea66358abbc3929d20e09861c7306.tar.xz |
Refactor log4net logger handling in script engine. (#3148)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs index 49e87c0..c157509 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs | |||
@@ -107,7 +107,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
107 | private void StopMaintenanceThread() | 107 | private void StopMaintenanceThread() |
108 | { | 108 | { |
109 | #if DEBUG | 109 | #if DEBUG |
110 | //m_ScriptEngine.Log.Debug("[" + m_ScriptEngine.ScriptEngineName + "]: StopMaintenanceThread() called"); | 110 | //m_log.Debug("[" + m_ScriptEngine.ScriptEngineName + "]: StopMaintenanceThread() called"); |
111 | #endif | 111 | #endif |
112 | //PleaseShutdown = true; | 112 | //PleaseShutdown = true; |
113 | Thread.Sleep(100); | 113 | Thread.Sleep(100); |
@@ -120,7 +120,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
120 | } | 120 | } |
121 | catch (Exception) | 121 | catch (Exception) |
122 | { | 122 | { |
123 | //m_ScriptEngine.Log.Error("[" + m_ScriptEngine.ScriptEngineName + "]: Exception stopping maintenence thread: " + ex.ToString()); | 123 | //m_log.Error("[" + m_ScriptEngine.ScriptEngineName + "]: Exception stopping maintenence thread: " + ex.ToString()); |
124 | } | 124 | } |
125 | } | 125 | } |
126 | 126 | ||
@@ -131,8 +131,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
131 | public void MaintenanceLoop() | 131 | public void MaintenanceLoop() |
132 | { | 132 | { |
133 | //if (m_ScriptEngine.m_EventQueueManager.maxFunctionExecutionTimens < MaintenanceLoopms) | 133 | //if (m_ScriptEngine.m_EventQueueManager.maxFunctionExecutionTimens < MaintenanceLoopms) |
134 | // m_ScriptEngine.Log.Warn("[" + m_ScriptEngine.ScriptEngineName + "]: " + | 134 | // m_log.Warn("[" + m_ScriptEngine.ScriptEngineName + "]: " + |
135 | // "Configuration error: MaxEventExecutionTimeMs is less than MaintenanceLoopms. The Maintenance Loop will only check scripts once per run."); | 135 | // "Configuration error: MaxEventExecutionTimeMs is less than MaintenanceLoopms. The Maintenance Loop will only check scripts once per run."); |
136 | 136 | ||
137 | long Last_maxFunctionExecutionTimens = 0; // DateTime.Now.Ticks; | 137 | long Last_maxFunctionExecutionTimens = 0; // DateTime.Now.Ticks; |
138 | long Last_ReReadConfigFilens = DateTime.Now.Ticks; | 138 | long Last_ReReadConfigFilens = DateTime.Now.Ticks; |