This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iamdbychkov
Recipients iamdbychkov
Date 2021-12-23.13:12:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640265166.09.0.322257892524.issue46163@roundup.psfhosted.org>
In-reply-to
Content
Hello!
If you use multiprocessing logger with logging.handlers.QueueHandler it will deadlock on first attempt at logging.

First attempt will initialize queue's background thread, which uses multiprocessing logger itself which will result in something what looks like deadlock :) 

There are workarounds and I'm not sure if it can be classified as a bug, prehaps a little note in documentation about this behaviour will do? 

I've attached example script.
History
Date User Action Args
2021-12-23 13:12:46iamdbychkovsetrecipients: + iamdbychkov
2021-12-23 13:12:46iamdbychkovsetmessageid: <1640265166.09.0.322257892524.issue46163@roundup.psfhosted.org>
2021-12-23 13:12:46iamdbychkovlinkissue46163 messages
2021-12-23 13:12:46iamdbychkovcreate