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

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.
Date User Action Args
2022-01-14 13:50:48mschiesssetrecipients: + mschiess, vinay.sajip
2022-01-14 13:50:48mschiesssetmessageid: <>
2022-01-14 13:50:48mschiesslinkissue46377 messages
2022-01-14 13:50:48mschiesscreate