Message394009
If you use TimedRotatingFileHandler and specify when='midnight',atTime, the log will always rollover if you start it at the same time as atTime.
For example, if atTime='00:00:00', and you run a script that outputs logs using the logger library twice at 00:00:00, the log that was rolled over the first time will be overwritten by the second rollover, and the 1st rollovered log will be lost. |
|
Date |
User |
Action |
Args |
2021-05-20 10:21:59 | aeg | set | recipients:
+ aeg |
2021-05-20 10:21:59 | aeg | set | messageid: <1621506119.34.0.442557367091.issue44186@roundup.psfhosted.org> |
2021-05-20 10:21:59 | aeg | link | issue44186 messages |
2021-05-20 10:21:59 | aeg | create | |
|