Add logging to pivotal