mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
* 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 work
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user