Make logging of mutations optional