log response for debugging