only log 400+ error codes

We can change the if statement if people want to log more status codes.