Update the way permission errors are logged.