Skip to content

Individually Named Dask Worker Console Log Files #10861

Closed Answered by jrussell9000
jrussell9000 asked this question in Q&A
Discussion options

You must be logged in to vote

Solved my own issue by adding a line clearing the log handlers (log.handlers = []) just after the log is instantiated (log = logging.getLogger() )each time setup_logger is called. Not 100% sure why the handlers are retained (or appended?) across dask workers, but this solved my issue in case anyone else comes across it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jrussell9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant