Logging 500 exceptions.