6.2 Diagnostic Information
Record the information needed for investigation in protected logs at the appropriate level. Review exception messages and nested causes for sensitive content before logging. Avoid exposing request bodies and headers by default. Invalid or failed requests shall not bypass transaction integrity or authorization checks.
Parent topic: Exception andError Handling