Add logging around responses