aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2010-08-22 14:26:58 +0200
committerMelanie Thielker2010-08-22 14:26:58 +0200
commit32ddeab5e37b6ba11eaa8322ad6473b52f21d55b (patch)
tree53114c0f8f60b3252829f337203ec7de7435cd97 /OpenSim/Region
parentSuppress error messages about scripts not foind if they're in fact disabled (diff)
downloadopensim-SC_OLD-32ddeab5e37b6ba11eaa8322ad6473b52f21d55b.zip
opensim-SC_OLD-32ddeab5e37b6ba11eaa8322ad6473b52f21d55b.tar.gz
opensim-SC_OLD-32ddeab5e37b6ba11eaa8322ad6473b52f21d55b.tar.bz2
opensim-SC_OLD-32ddeab5e37b6ba11eaa8322ad6473b52f21d55b.tar.xz
Add printing the default script engine name. Report real exceptions when
there is an issue with the config file, as a typo could cause configuration to silently fail.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 32211c4..957c4e8 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -658,6 +658,7 @@ namespace OpenSim.Region.Framework.Scenes
658 m_persistAfter *= 10000000; 658 m_persistAfter *= 10000000;
659 659
660 m_defaultScriptEngine = startupConfig.GetString("DefaultScriptEngine", "XEngine"); 660 m_defaultScriptEngine = startupConfig.GetString("DefaultScriptEngine", "XEngine");
661 m_log.InfoFormat("[SCENE]: Default script engine {0}", m_defaultScriptEngine);
661 662
662 IConfig packetConfig = m_config.Configs["PacketPool"]; 663 IConfig packetConfig = m_config.Configs["PacketPool"];
663 if (packetConfig != null) 664 if (packetConfig != null)
@@ -692,9 +693,9 @@ namespace OpenSim.Region.Framework.Scenes
692 } 693 }
693 } 694 }
694 } 695 }
695 catch 696 catch (Exception e)
696 { 697 {
697 m_log.Warn("[SCENE]: Failed to load StartupConfig"); 698 m_log.Error("[SCENE]: Failed to load StartupConfig: " + e.ToString());
698 } 699 }
699 700
700 #endregion Region Config 701 #endregion Region Config