log and TaskScheduler