See also #2659 . It might be argued that nothing important is logging to the distributed logger, and everything is logging to a child e.g. distributed.client (even through the loggers are flattened with the simple config), which might be true, but it further erodes the notion of hierarchical logging.
With
config.yaml
including simple-formlogging
config:All looks good. Start a
Client
:No logging output, as the
distributed
logger has had itsHandler
(aStreamHandler
) set toWARNING
threshold.Once a
Client
is started and fires-up a local cluster/scheduler, I suspect a worker:https://github.com/dask/distributed/blob/09b959a5667a51a2dc073510c784e01d44827457/distributed/worker.py#L424-L425
... runs
silence_logging
, which does just as it is named:https://github.com/dask/distributed/blob/09b959a5667a51a2dc073510c784e01d44827457/distributed/utils.py#L728-L742
See also #2659 . It might be argued that nothing important is logging to the
distributed
logger, and everything is logging to a child e.g.distributed.client
(even through the loggers are flattened with the simple config), which might be true, but it further erodes the notion of hierarchical logging.