Log activity lifecycle