[New-bugs-announce] [issue44186] TimedRotatingFileHandler overwrite log
report at bugs.python.org
Thu May 20 06:21:59 EDT 2021
New submission from Eiji Ito <aeffy7 at gmail.com>:
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.
components: Library (Lib)
title: TimedRotatingFileHandler overwrite log
versions: Python 3.9
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce