Add logging to acm.