aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
index c1d6f8e..bcd4ccd 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
@@ -451,11 +451,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
451 451
452 public void VarDump(Dictionary<string, object> vars) 452 public void VarDump(Dictionary<string, object> vars)
453 { 453 {
454 Console.WriteLine("Variable dump for script {0}", m_ItemID.ToString()); 454 m_log.Info("Variable dump for script "+ m_ItemID.ToString());
455 foreach (KeyValuePair<string, object> v in vars) 455 foreach (KeyValuePair<string, object> v in vars)
456 { 456 {
457 Console.WriteLine("Variable: {0} = '{1}'", v. Key, 457 m_log.Info("Variable: "+v.Key+" = "+v.Value.ToString());
458 v.Value.ToString());
459 } 458 }
460 } 459 }
461 460
@@ -881,7 +880,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
881 } 880 }
882 catch(Exception e) 881 catch(Exception e)
883 { 882 {
884 Console.WriteLine("Unable to save xml\n"+e.ToString()); 883 m_log.Error("Unable to save xml\n"+e.ToString());
885 } 884 }
886 if (!File.Exists(Path.Combine(Path.GetDirectoryName(assembly), m_ItemID.ToString() + ".state"))) 885 if (!File.Exists(Path.Combine(Path.GetDirectoryName(assembly), m_ItemID.ToString() + ".state")))
887 { 886 {