Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

> From: João Paulo Farias <rep...@bugs.python.org>

> I dont see the resolution for this problem yet... What should I 
> do to not have it happen?

Don't use RotatingFileHandler in any process which spawns a subprocess. In a 
multiprocess situation where you want to use rotating log files, have a 
dedicated subprocess (which does not spawn any children) which listens for 
logging events on a socket and writes them to the rotated log. Have every other 
process use SocketHandler to log events to the aforementioned dedicated 
process. There is an example in the Python documentation of listening for 
events on a socket.

----------

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

Reply via email to