Added logging on thread schedule.
Added logging on thread schedule.
Added logging on run().