diff options
author | Justin Clarke Casey | 2008-06-01 01:22:19 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-06-01 01:22:19 +0000 |
commit | 45fef8589d430fac076e534fdf5635ad4de4cb31 (patch) | |
tree | af0efd8a4bf1102823a624d92b4732cc32919db3 /OpenSim/Region/Application | |
parent | * Refactor: Split opensim background server into a separate class (diff) | |
download | opensim-SC-45fef8589d430fac076e534fdf5635ad4de4cb31.zip opensim-SC-45fef8589d430fac076e534fdf5635ad4de4cb31.tar.gz opensim-SC-45fef8589d430fac076e534fdf5635ad4de4cb31.tar.bz2 opensim-SC-45fef8589d430fac076e534fdf5635ad4de4cb31.tar.xz |
* Move log version printing up into BaseOpenSimServer
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSimBackground.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 11 |
3 files changed, 6 insertions, 14 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 1bed036..1996182 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -82,10 +82,6 @@ namespace OpenSim | |||
82 | /// </summary> | 82 | /// </summary> |
83 | public override void StartUp() | 83 | public override void StartUp() |
84 | { | 84 | { |
85 | // | ||
86 | // Called from app startup (OpenSim.Application) | ||
87 | // | ||
88 | |||
89 | m_log.Info("===================================================================="); | 85 | m_log.Info("===================================================================="); |
90 | m_log.Info("========================= STARTING OPENSIM ========================="); | 86 | m_log.Info("========================= STARTING OPENSIM ========================="); |
91 | m_log.Info("===================================================================="); | 87 | m_log.Info("===================================================================="); |
@@ -93,7 +89,8 @@ namespace OpenSim | |||
93 | 89 | ||
94 | m_console = CreateConsole(); | 90 | m_console = CreateConsole(); |
95 | MainConsole.Instance = m_console; | 91 | MainConsole.Instance = m_console; |
96 | InternalStartUp(); | 92 | |
93 | base.StartUp(); | ||
97 | 94 | ||
98 | //Run Startup Commands | 95 | //Run Startup Commands |
99 | if (m_startupCommandsFile != String.Empty) | 96 | if (m_startupCommandsFile != String.Empty) |
diff --git a/OpenSim/Region/Application/OpenSimBackground.cs b/OpenSim/Region/Application/OpenSimBackground.cs index 0c3a0a3..dd618f0 100644 --- a/OpenSim/Region/Application/OpenSimBackground.cs +++ b/OpenSim/Region/Application/OpenSimBackground.cs | |||
@@ -58,7 +58,7 @@ namespace OpenSim | |||
58 | m_log.Info("===================================================================="); | 58 | m_log.Info("===================================================================="); |
59 | m_log.InfoFormat("[OPENSIM MAIN]: Running in background {0} mode", m_sandbox ? "sandbox" : "grid"); | 59 | m_log.InfoFormat("[OPENSIM MAIN]: Running in background {0} mode", m_sandbox ? "sandbox" : "grid"); |
60 | 60 | ||
61 | InternalStartUp(); | 61 | base.StartUp(); |
62 | 62 | ||
63 | // We are done with startup | 63 | // We are done with startup |
64 | m_log.InfoFormat("[OPENSIM MAIN]: Startup complete, serving {0} region{1}", | 64 | m_log.InfoFormat("[OPENSIM MAIN]: Startup complete, serving {0} region{1}", |
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 468881e..3e4db41 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -330,16 +330,11 @@ namespace OpenSim | |||
330 | /// <summary> | 330 | /// <summary> |
331 | /// Performs initialisation of the scene, such as loading configuration from disk. | 331 | /// Performs initialisation of the scene, such as loading configuration from disk. |
332 | /// </summary> | 332 | /// </summary> |
333 | protected void InternalStartUp() | 333 | public override void StartUp() |
334 | { | 334 | { |
335 | m_log.Info("[STARTUP]: Version " + m_version + "\n"); | ||
336 | |||
337 | m_stats = StatsManager.StartCollectingSimExtraStats(); | ||
338 | |||
339 | // Do baseclass startup sequence: OpenSim.Region.ClientStack.RegionApplicationBase.StartUp | ||
340 | // TerrainManager, StorageManager, HTTP Server | ||
341 | // This base will call abstract Initialize | ||
342 | base.StartUp(); | 335 | base.StartUp(); |
336 | |||
337 | m_stats = StatsManager.StartCollectingSimExtraStats(); | ||
343 | 338 | ||
344 | // StandAlone mode? m_sandbox is determined by !startupConfig.GetBoolean("gridmode", false) | 339 | // StandAlone mode? m_sandbox is determined by !startupConfig.GetBoolean("gridmode", false) |
345 | if (m_sandbox) | 340 | if (m_sandbox) |