debug: give dump_to_logger() thread a name.

pull/296/head
David Wilson 6 years ago
parent 68cf84762f
commit 4122fa4a46

@ -190,7 +190,10 @@ def _logging_main():
def dump_to_logger():
th = threading.Thread(target=_logging_main)
th = threading.Thread(
target=_logging_main,
name='mitogen.debug.dump_to_logger',
)
th.setDaemon(True)
th.start()

Loading…
Cancel
Save