Message410558
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. |
|
Date |
User |
Action |
Args |
2022-01-14 13:50:48 | mschiess | set | recipients:
+ mschiess, vinay.sajip |
2022-01-14 13:50:48 | mschiess | set | messageid: <1642168248.18.0.205175918146.issue46377@roundup.psfhosted.org> |
2022-01-14 13:50:48 | mschiess | link | issue46377 messages |
2022-01-14 13:50:48 | mschiess | create | |
|