fix LogOutgoingDetail output length limit

This commit is contained in:
UbitUmarov 2024-10-16 23:46:34 +01:00
parent 45372514c2
commit 3f70e493b0

View file

@ -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] + "...";