Author mschiess
Recipients mschiess, vinay.sajip
Date 2022-01-14.13:50:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642168248.18.0.205175918146.issue46377@roundup.psfhosted.org>
In-reply-to
Content
Using the TimedRotatingFileHandler along with "when='midnight'" and interval > 1, midnight is handled equally to "days" which is a little misleading.

Expectation:
setting when to 'midnight', the file is rotated every midnight (interval value should be ignored)

Current behavior:
If 'midnight' is given alongside with an interval greater than 1 (.e.g 5), the (internal) interval (24*60*60) is calculated with the given interval -> 24*60*60 * 5.


In my case, this led to some unforeseeable and unexpected behavior.
History
Date User Action Args
2022-01-14 13:50:48mschiesssetrecipients: + mschiess, vinay.sajip
2022-01-14 13:50:48mschiesssetmessageid: <1642168248.18.0.205175918146.issue46377@roundup.psfhosted.org>
2022-01-14 13:50:48mschiesslinkissue46377 messages
2022-01-14 13:50:48mschiesscreate