sapi event logging moved to formatter