fix: using right logger in TaskSwitchTo