Log same environment information to Robust log as is already done for simulator logs, for debug purposes

This commit is contained in:
Justin Clark-Casey (justincc)
2013-03-14 23:39:15 +00:00
parent 2fbc08d7dd
commit 12900ea84e
5 changed files with 23 additions and 19 deletions

View File

@@ -133,17 +133,7 @@ namespace OpenSim.Framework.Servers
/// Performs initialisation of the scene, such as loading configuration from disk.
/// </summary>
public virtual void Startup()
{
m_log.Info("[STARTUP]: Beginning startup processing");
m_log.Info("[STARTUP]: OpenSimulator version: " + m_version + Environment.NewLine);
// clr version potentially is more confusing than helpful, since it doesn't tell us if we're running under Mono/MS .NET and
// the clr version number doesn't match the project version number under Mono.
//m_log.Info("[STARTUP]: Virtual machine runtime version: " + Environment.Version + Environment.NewLine);
m_log.InfoFormat(
"[STARTUP]: Operating system version: {0}, .NET platform {1}, {2}-bit\n",
Environment.OSVersion, Environment.OSVersion.Platform, Util.Is64BitProcess() ? "64" : "32");
{
StartupSpecific();
TimeSpan timeTaken = DateTime.Now - m_startuptime;