logger renamed to taskLogger