add lifecycle events logging