better logging for HTTP status other than 200