New submission from Fons Dijkstra f...@xs4all.nl:
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
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - vsajip
nosy: +vsajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5013
___
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Fixes now in trunk and release26-maint.
Note that RotatingFileHandler will open the file when shouldRollover()
is called - which it is from emit() - and doRollover() will also open
the file even if a delay parameter is set.