add log for tasks