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 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. ---------- components: Library (Lib) messages: 80258 nosy: pycurry severity: normal status: open title: Problems with delay parm of logging.handlers.RotatingFileHandler type: behavior versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5013> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com