Log an express request if the response has a bad status code.