Browse Source

fix LogOutgoingDetail output length limit

UbitUmarov 1 month ago
parent
commit
3f70e493b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      OpenSim/Framework/WebUtil.cs

+ 1 - 1
OpenSim/Framework/WebUtil.cs

@@ -333,7 +333,7 @@ namespace OpenSim.Framework
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static void LogOutgoingDetail(string context, string output)
         public static void LogOutgoingDetail(string context, string output)
         {
         {
-            if (DebugLevel == 5)
+            if (DebugLevel >= 5)
             {
             {
                 if (output.Length > MaxRequestDiagLength)
                 if (output.Length > MaxRequestDiagLength)
                     output = output[..MaxRequestDiagLength] + "...";
                     output = output[..MaxRequestDiagLength] + "...";