When 5xx errors happen, change the log level to 'error'