implemented tasksWaitForLog