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 pycurry
Recipients pycurry
Date 2009-01-20.16:21:19
SpamBayes Score 1.2305326e-05
Marked as misclassified No
Message-id <1232468482.31.0.912117314029.issue5013@psf.upfronthosting.co.za>
In-reply-to
Content
When you set the delay parameter of the 
logging.handlers.RotatingFileHandler.__init__() function to True, two 
things go wrong:

1) A previously set formatter is reset (to None) upon lazy creating the 
StreamHandler. That means in practice that you always will have the 
default formatter which just formats the message.

2) Upon a roll-over, the delay parm does not seem to be used anymore as, 
even if there are no records to log, the new current logfile is always 
created.
History
Date User Action Args
2009-01-20 16:21:22pycurrysetrecipients: + pycurry
2009-01-20 16:21:22pycurrysetmessageid: <1232468482.31.0.912117314029.issue5013@psf.upfronthosting.co.za>
2009-01-20 16:21:21pycurrylinkissue5013 messages
2009-01-20 16:21:19pycurrycreate