add log to activity