Noncompliant Code Example:
catch (Exception exception)
{
Log.Error(ex, "Disk quota {Quota} MB exceeded {Exception}", quota, exception);
}
Compliant Solution:
catch (Exception exception)
{
Log.Error(exception, "Disk quota {Quota} MB exceeded", quota);
}