[issue5013] Problems with delay parm of logging.handlers.RotatingFileHandler

2009-01-20 Thread Vinay Sajip
Vinay Sajip 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. TimedRotatingFileHandler will not open

[issue5013] Problems with delay parm of logging.handlers.RotatingFileHandler

2009-01-20 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> vsajip nosy: +vsajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue5013] Problems with delay parm of logging.handlers.RotatingFileHandler

2009-01-20 Thread Fons Dijkstra
New submission from Fons Dijkstra : 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