aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
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
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')
-rw-r--r--OpenSim/Framework/Console/ConsoleBase.cs7
-rw-r--r--OpenSim/Framework/Servers/BaseOpenSimServer.cs13
2 files changed, 6 insertions, 14 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index 74e64e3..5d8e5b9 100644
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -48,13 +48,6 @@ namespace OpenSim.Framework.Console
48 { 48 {
49 m_componentName = componentname; 49 m_componentName = componentname;
50 m_cmdParser = cmdparser; 50 m_cmdParser = cmdparser;
51
52 m_log.Info("[" + m_componentName + "]: Started at " + DateTime.Now.ToString());
53 }
54
55 public void Close()
56 {
57 m_log.Info("[" + m_componentName + "]: Shutdown at " + DateTime.Now.ToString());
58 } 51 }
59 52
60 /// <summary> 53 /// <summary>
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 }