* For shits and giggles, print out the time taken for a server to start up (which doesn't include stuff such as script starting time on the region server).
* Yes, you could work this out from timestamps in the logs, but that's far too much work0.6.0-stable
parent
70124a3213
commit
fbc813e658
|
@ -214,6 +214,10 @@ namespace OpenSim.Framework.Servers
|
|||
m_log.Info("[STARTUP]: Version: " + m_version + "\n");
|
||||
|
||||
StartupSpecific();
|
||||
|
||||
TimeSpan timeTaken = DateTime.Now - m_startuptime;
|
||||
|
||||
m_log.InfoFormat("[STARTUP]: Server startup took {0}m {1}s", timeTaken.Minutes, timeTaken.Seconds);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue