After updating a package distributed to version 1.15.0, my journal stops working.
I used logging.config.dictConfig to initialize the python logging tools, and previously these settings applied to all workers. But after the update, it no longer works.
If I do a dictConfig right before each log call for each worker, it works, but this is not the right solution.
So the question is, how does it initialize the logging for each employee before my calculation schedule starts and does it only once per employee?
UPDATE:
This hack worked on a dummy example, but did not change my system:
def init_logging():
UPDATE 2:
After processing the documentation, this fixed the problem:
client.run(init_logging)
So the question is, is this the right way to solve this problem?
source share