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 vinay.sajip
Recipients Frans, eantelman, ggenellina, jpfarias, lowell87, mramahi77, neyro, rcronk, vinay.sajip
Date 2010-03-27.10:44:23
SpamBayes Score 5.82297e-05
Marked as misclassified No
Message-id <237075.77879.qm@web25801.mail.ukl.yahoo.com>
In-reply-to <1269650234.36.0.6318486892.issue4749@psf.upfronthosting.co.za>
Content
> From: João Paulo Farias <report@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.
History
Date User Action Args
2010-03-27 10:44:25vinay.sajipsetrecipients: + vinay.sajip, ggenellina, mramahi77, lowell87, neyro, rcronk, Frans, eantelman
2010-03-27 10:44:24vinay.sajiplinkissue4749 messages
2010-03-27 10:44:23vinay.sajipcreate