[issue44186] TimedRotatingFileHandler overwrite log

2021-05-20 Thread Eiji Ito


New submission from Eiji Ito :

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 
<https://bugs.python.org/issue44186>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44186] TimedRotatingFileHandler overwrite log

2021-05-20 Thread Eiji Ito


Change by Eiji Ito :


Added file: https://bugs.python.org/file50053/log.py

___
Python tracker 
<https://bugs.python.org/issue44186>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com