New submission from Cristian Martinez de Morentin <cmarti...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42244>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to