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]>
<http://bugs.python.org/
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.roll
Moshe Cohen added the comment:
The comments before the code are correct, by the way.
The code should do exactly that.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/