...
This compliant solution sanitizes the user name input before logging it. Refer to guideline IDS01-J. Carefully filter any data that passes through a trust boundarySanitize before processing or storing user input for more details on input sanitization.
...