improved start/end of event logging