From 9864d1abfc11cd155f5cfc412265657b65e34818 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 18 Mar 2020 19:09:59 +0000 Subject: [PATCH] tell detected endian also --- OpenSim/Framework/Servers/BaseOpenSimServer.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 5e249c50f9..44d06f83cd 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs @@ -194,9 +194,13 @@ namespace OpenSim.Framework.Servers // next code can be changed on .net 4.7.x if(Util.IsWindows()) - m_log.Info("[STARTUP]: Processor Architecture: " + System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE", EnvironmentVariableTarget.Machine)); + m_log.InfoFormat("[STARTUP]: Processor Architecture: {0}({1})", + System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE", EnvironmentVariableTarget.Machine), + BitConverter.IsLittleEndian ?"le":"be"); else - m_log.Info("[STARTUP]: Processor Architecture: " + System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE")); + m_log.InfoFormat("[STARTUP]: Processor Architecture: {0}({1})", + System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE"), + BitConverter.IsLittleEndian ? "le" : "be"); try {