diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 153acdf27a..d90b5e0b88 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs @@ -831,17 +831,6 @@ namespace OpenSim.Framework.Servers.HttpServer if (WebUtil.DebugLevel >= 5) { string output = System.Text.Encoding.UTF8.GetString(buffer); - - if (WebUtil.DebugLevel >= 6) - { - // Always truncate binary blobs. We don't have a ContentType, so detect them using the request name. - if (requestHandler is not null && requestHandler.Name.Equals("GetMesh")) - { - if (output.Length > WebUtil.MaxRequestDiagLength) - output = string.Concat(output.AsSpan(0, WebUtil.MaxRequestDiagLength), "..."); - } - } - WebUtil.LogResponseDetail(RequestNumber, output); } diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index 1a9d9cc1e5..744e732e44 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs @@ -333,7 +333,7 @@ namespace OpenSim.Framework [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void LogOutgoingDetail(string context, string output) { - if (DebugLevel == 5) + if (DebugLevel >= 5) { if (output.Length > MaxRequestDiagLength) output = output[..MaxRequestDiagLength] + "..."; diff --git a/OpenSim/Services/Base/ServiceBase.cs b/OpenSim/Services/Base/ServiceBase.cs index f75d2a222b..310ccfac47 100644 --- a/OpenSim/Services/Base/ServiceBase.cs +++ b/OpenSim/Services/Base/ServiceBase.cs @@ -104,7 +104,7 @@ namespace OpenSim.Services.Base "[SERVICE BASE]: Failed to load plugin {0} from {1} with args {2}", interfaceName, dllName, string.Join(", ", strArgs.ToArray()), e); if (e.InnerException != null) - m_log.Error($"\"[SERVICE BASE]: inner expection {e.InnerException.Message}"); + m_log.Error($"[SERVICE BASE]: inner exception {e.InnerException.Message}"); return null; }