aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseOpenSimServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r--OpenSim/Framework/Servers/BaseOpenSimServer.cs23
1 files changed, 18 insertions, 5 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index 828a852..09b0801 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -65,6 +65,7 @@ namespace OpenSim.Framework.Servers
65 /// This will control a periodic log printout of the current 'show stats' (if they are active) for this 65 /// This will control a periodic log printout of the current 'show stats' (if they are active) for this
66 /// server. 66 /// server.
67 /// </summary> 67 /// </summary>
68
68 private int m_periodDiagnosticTimerMS = 60 * 60 * 1000; 69 private int m_periodDiagnosticTimerMS = 60 * 60 * 1000;
69 private Timer m_periodicDiagnosticsTimer = new Timer(60 * 60 * 1000); 70 private Timer m_periodicDiagnosticsTimer = new Timer(60 * 60 * 1000);
70 71
@@ -84,6 +85,8 @@ namespace OpenSim.Framework.Servers
84 // Random uuid for private data 85 // Random uuid for private data
85 m_osSecret = UUID.Random().ToString(); 86 m_osSecret = UUID.Random().ToString();
86 87
88 m_periodicDiagnosticsTimer.Elapsed += new ElapsedEventHandler(LogDiagnostics);
89 m_periodicDiagnosticsTimer.Enabled = true;
87 } 90 }
88 91
89 /// <summary> 92 /// <summary>
@@ -146,14 +149,24 @@ namespace OpenSim.Framework.Servers
146 /// Performs initialisation of the scene, such as loading configuration from disk. 149 /// Performs initialisation of the scene, such as loading configuration from disk.
147 /// </summary> 150 /// </summary>
148 public virtual void Startup() 151 public virtual void Startup()
149 { 152 {
153 m_log.Info("[STARTUP]: Beginning startup processing");
154
155 m_log.Info("[STARTUP]: Careminster version: " + m_version + Environment.NewLine);
156 // clr version potentially is more confusing than helpful, since it doesn't tell us if we're running under Mono/MS .NET and
157 // the clr version number doesn't match the project version number under Mono.
158 //m_log.Info("[STARTUP]: Virtual machine runtime version: " + Environment.Version + Environment.NewLine);
159 m_log.InfoFormat(
160 "[STARTUP]: Operating system version: {0}, .NET platform {1}, {2}-bit\n",
161 Environment.OSVersion, Environment.OSVersion.Platform, Util.Is64BitProcess() ? "64" : "32");
162
150 StartupSpecific(); 163 StartupSpecific();
151 164
152 TimeSpan timeTaken = DateTime.Now - m_startuptime; 165 TimeSpan timeTaken = DateTime.Now - m_startuptime;
153 166
154 MainConsole.Instance.OutputFormat( 167// MainConsole.Instance.OutputFormat(
155 "PLEASE WAIT FOR LOGINS TO BE ENABLED ON REGIONS ONCE SCRIPTS HAVE STARTED. Non-script portion of startup took {0}m {1}s.", 168// "PLEASE WAIT FOR LOGINS TO BE ENABLED ON REGIONS ONCE SCRIPTS HAVE STARTED. Non-script portion of startup took {0}m {1}s.",
156 timeTaken.Minutes, timeTaken.Seconds); 169// timeTaken.Minutes, timeTaken.Seconds);
157 } 170 }
158 171
159 public string osSecret 172 public string osSecret
@@ -175,4 +188,4 @@ namespace OpenSim.Framework.Servers
175 } 188 }
176 } 189 }
177 } 190 }
178} \ No newline at end of file 191}