By their nature, they are ephemeral, so have to be logged in the task themselves.
I would ensure you are getting getting a new task logger context (in the task itself) and logging the output during that task. This might be slightly asynchronous (not real-time logging) as I mentioned, because the tasks and dask pods will queue writes to the batch writers,