[New-bugs-announce] [issue13469] TimedRotatingFileHandler fails to handle intervals of several weeks correctly

Jussi Eronen report at bugs.python.org
Thu Nov 24 08:10:39 CET 2011


New submission from Jussi Eronen <exec at iki.fi>:

When specifying a time period of several weeks, say when w0 and interval 4, the rollover still happens weekly instead of every 4 weeks. The log file names are as though the rollover happens every 4 weeks, which furthers the confusion. 

In the file system, it looks like this:

-rw-r----- 1 x x  94189100 2011-10-24 23:59 x.log.2011-09-27
-rw-r----- 1 x x  51059765 2011-11-01 00:59 x.log.2011-10-04

This seems to be the result of computeRollover not handling multiple weeks at all.

----------
components: Library (Lib)
messages: 148230
nosy: exec
priority: normal
severity: normal
status: open
title: TimedRotatingFileHandler fails to handle intervals of several weeks correctly
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13469>
_______________________________________


More information about the New-bugs-announce mailing list