New submission from paul j3 <ajipa...@gmail.com>:

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.

----------
assignee: docs@python
components: Documentation
messages: 143815
nosy: docs@python, paul.j3
priority: normal
severity: normal
status: open
title: Multiprocessing logging under Windows

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12954>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to