New submission from Jussi Eronen <e...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13469>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to