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 paul.j3
Recipients docs@python, paul.j3
Date 2011-09-09.23:26:48
SpamBayes Score 1.1611546e-05
Marked as misclassified No
Message-id <1315610809.5.0.0888786272542.issue12954@psf.upfronthosting.co.za>
In-reply-to
Content
The Windows programming guidelines for the multiprocessing module documentation should include a warning that any logging initialization should be protected by the 'if __name__' block.  Otherwise you will get duplicate logging entries for the child processes.  This is because the multiprocessing.forking.prepare() function explicitly calls log_to_stderr(), and may implicitly do so again when it imports the parent module, resulting in duplicate logging handlers.
History
Date User Action Args
2011-09-09 23:26:49paul.j3setrecipients: + paul.j3, docs@python
2011-09-09 23:26:49paul.j3setmessageid: <1315610809.5.0.0888786272542.issue12954@psf.upfronthosting.co.za>
2011-09-09 23:26:48paul.j3linkissue12954 messages
2011-09-09 23:26:48paul.j3create