Sanitize the logged message for characters below %d32.