add event logging to disk/allocation