Author jango
Recipients jango, pitrou
Date 2011-12-09.23:20:19
SpamBayes Score 2.14616e-11
Marked as misclassified No
Message-id <4EE297B2.7070903@gmail.com>
In-reply-to <1323466225.33.0.286870971345.issue13569@psf.upfronthosting.co.za>
Content
Hi Antoine,

* If I don't pass a logger and do print statements instead, works like a 
charm.

* If I getLogger() in the child instead, example fails with the same trace.

However, according to this ( http://docs.python.org/library/logging.html 
): "The logging module is intended to be thread-safe without any special 
work needing to be done by its clients. It achieves this though using 
threading locks; there is one lock to serialize access to the module’s 
shared data, and each handler also creates a lock to serialize access to 
its underlying I/O."

Which is why I assumed I could use logging safely.

Thanks,
Nikita

On 11-12-09 04:30 PM, Antoine Pitrou wrote:
> Antoine Pitrou<pitrou@free.fr>  added the comment:
>
> I don't think it's the queue. Try removing the logger instead (or creating it in the child).
>
> ----------
>
> _______________________________________
> Python tracker<report@bugs.python.org>
> <http://bugs.python.org/issue13569>
> _______________________________________
History
Date User Action Args
2011-12-09 23:20:20jangosetrecipients: + jango, pitrou
2011-12-09 23:20:19jangolinkissue13569 messages
2011-12-09 23:20:19jangocreate