Open guziy opened 2 years ago
If you want to disable all the logs, I found this way (just above the initialize
call):
logging.getLogger("distributed.worker").setLevel(logging.CRITICAL)
logging.getLogger("distributed.core").setLevel(logging.CRITICAL)
logging.getLogger("distributed.batched").setLevel(logging.CRITICAL)
logging.getLogger("distributed.scheduler").setLevel(logging.CRITICAL)
I guess the correct way would be to remove all handlers and add a file handler, in case someone needs more detailed logs.
What happened: When program is completed exceptions are thrown.
Please see the log file: test.log
What you expected to happen: I expect scheduler and worker exit without exceptions.
Minimal Complete Verifiable Example: To run this example I use the following command:
Anything else we need to know?:
Environment:
Cluster Dump State: