aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseOpenSimServer.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-06-01 02:02:20 +0000
committerJustin Clarke Casey2008-06-01 02:02:20 +0000
commitfbaeb081aa6e66cd560c2883c4a514f489c2e3e8 (patch)
tree37af2cd1b3810691c989df4f472909ed6a83e5ae /OpenSim/Framework/Servers/BaseOpenSimServer.cs
parent* Fix build break by eliminating remaining IScenePermissions references - mus... (diff)
downloadopensim-SC_OLD-fbaeb081aa6e66cd560c2883c4a514f489c2e3e8.zip
opensim-SC_OLD-fbaeb081aa6e66cd560c2883c4a514f489c2e3e8.tar.gz
opensim-SC_OLD-fbaeb081aa6e66cd560c2883c4a514f489c2e3e8.tar.bz2
opensim-SC_OLD-fbaeb081aa6e66cd560c2883c4a514f489c2e3e8.tar.xz
* Move most bookending startup/shutdown messages to BaseOpenSimServer so they appear in non-console servers too
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r--OpenSim/Framework/Servers/BaseOpenSimServer.cs13
1 files changed, 6 insertions, 7 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index dfc9c0a..f8e97b1 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -74,21 +74,20 @@ namespace OpenSim.Framework.Servers
74 /// Performs initialisation of the scene, such as loading configuration from disk. 74 /// Performs initialisation of the scene, such as loading configuration from disk.
75 /// </summary> 75 /// </summary>
76 public virtual void Startup() 76 public virtual void Startup()
77 { 77 {
78 m_log.Info("[STARTUP]: Beginning startup processing");
79
78 EnhanceVersionInformation(); 80 EnhanceVersionInformation();
79 81
80 m_log.Info("[STARTUP]: Version " + m_version + "\n"); 82 m_log.Info("[STARTUP]: Version " + m_version + "\n");
81 } 83 }
82 84
83 /// <summary> 85 /// <summary>
84 /// Should be overriden by descendents if they need to perform extra shutdown processing 86 /// Should be overriden and referenced by descendents if they need to perform extra shutdown processing
85 /// </summary> 87 /// </summary>
86 public virtual void Shutdown() 88 public virtual void Shutdown()
87 { 89 {
88 if (m_console != null) 90 m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting...");
89 {
90 m_console.Close();
91 }
92 91
93 Environment.Exit(0); 92 Environment.Exit(0);
94 } 93 }