Add debuggable logging around potatolytics