added high-level logging to task manager.