[New-bugs-announce] [issue44186] TimedRotatingFileHandler overwrite log
Eiji Ito
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)
messages: 394009
nosy: aeg
priority: normal
severity: normal
status: open
title: TimedRotatingFileHandler overwrite log
type: behavior
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44186>
_______________________________________
More information about the New-bugs-announce
mailing list