add log message to activity lifecycle