Why not make TaskMasterLifecycle implement TaskLogProvider and do this stuff there?