Added log for tasks.