[issue1321] TimedRotatingFileHandler logic for day of week is wrong

2007-10-24 Thread Vinay Sajip
Vinay Sajip added the comment: Fixed checked into trunk: r58628. Also checked into release25-maint. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue1321] TimedRotatingFileHandler logic for day of week is wrong

2007-10-24 Thread Georg Brandl
Changes by Georg Brandl: -- assignee: -> vsajip nosy: +vsajip __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1321] TimedRotatingFileHandler logic for day of week is wrong

2007-10-24 Thread Moshe Cohen
New submission from Moshe Cohen: The logic for determining the time till midnight on the requested day of week is reversed. >From logging/handlers.py:234 if day > self.dayOfWeek: daysToWait = (day - self.dayOfWeek) - 1 self.rolloverAt = se

[issue1321] TimedRotatingFileHandler logic for day of week is wrong

2007-10-24 Thread Moshe Cohen
Moshe Cohen added the comment: The comments before the code are correct, by the way. The code should do exactly that. __ Tracker <[EMAIL PROTECTED]> __ _

[issue1321] TimedRotatingFileHandler logic for day of week is wrong

2007-10-24 Thread Moshe Cohen
Changes by Moshe Cohen: -- components: None nosy: mosheco severity: major status: open title: TimedRotatingFileHandler logic for day of week is wrong type: behavior versions: Python 2.4 __ Tracker <[EMAIL PROTECTED]> ___