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/XEngine/XEngine.cs | |
parent | Addresses some issues with appearance after TPs. Appearance.Owner was not bei... (diff) | |
download | opensim-SC_OLD-818af9d4827ea66358abbc3929d20e09861c7306.zip opensim-SC_OLD-818af9d4827ea66358abbc3929d20e09861c7306.tar.gz opensim-SC_OLD-818af9d4827ea66358abbc3929d20e09861c7306.tar.bz2 opensim-SC_OLD-818af9d4827ea66358abbc3929d20e09861c7306.tar.xz |
Refactor log4net logger handling in script engine. (#3148)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 7a36bc2..75d0bec 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -125,11 +125,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
125 | get { return m_Scene; } | 125 | get { return m_Scene; } |
126 | } | 126 | } |
127 | 127 | ||
128 | public ILog Log | ||
129 | { | ||
130 | get { return m_log; } | ||
131 | } | ||
132 | |||
133 | public static List<XEngine> ScriptEngines | 128 | public static List<XEngine> ScriptEngines |
134 | { | 129 | { |
135 | get { return m_ScriptEngines; } | 130 | get { return m_ScriptEngines; } |
@@ -483,7 +478,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
483 | SceneObjectPart part = m_Scene.GetSceneObjectPart(localID); | 478 | SceneObjectPart part = m_Scene.GetSceneObjectPart(localID); |
484 | if (part == null) | 479 | if (part == null) |
485 | { | 480 | { |
486 | Log.Error("[Script] SceneObjectPart unavailable. Script NOT started."); | 481 | m_log.Error("[Script] SceneObjectPart unavailable. Script NOT started."); |
487 | m_ScriptErrorMessage += "SceneObjectPart unavailable. Script NOT started.\n"; | 482 | m_ScriptErrorMessage += "SceneObjectPart unavailable. Script NOT started.\n"; |
488 | m_ScriptFailCount++; | 483 | m_ScriptFailCount++; |
489 | return false; | 484 | return false; |