[New-bugs-announce] [issue42244] TimedRotatingFileHandler doesn’t handle the switch to/from DST when using daily/midnight rotation

Cristian Martinez de Morentin report at bugs.python.org
Mon Nov 2 04:19:48 EST 2020


New submission from Cristian Martinez de Morentin <cmartinez at das-nano.com>:

TimedRotatingFileHandler doesn’t handle the switch to/from DST when using daily/midnight rotation. When DST switch occurs, the previous day logging file is overwritten. The issue is present regardless of the value of the UTC flag (True/False).

For instance, we had a DST switch on october 24th in Spain and no logging file was created for that day. Instead, the data was written to october 23rd file.

----------
components: Library (Lib)
messages: 380201
nosy: Cristian Martinez de Morentin
priority: normal
severity: normal
status: open
title: TimedRotatingFileHandler doesn’t handle the switch to/from DST when using daily/midnight rotation
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42244>
_______________________________________


More information about the New-bugs-announce mailing list