log the response