add app event logging