New submission from Ivo Grondman <pyt...@grondman.net>:

Using the TimedRotatingFileHandler with a non-zero backupCount, I get different 
behaviour between versions 3.9 and 3.10.

Attached is a small example. Running it with 3.9 gives me two backups at most 
even if I run the script for a long time. Running it with 3.10 does not delete 
old backup files at all and just keeps writing new ones.

----------
components: Library (Lib), macOS
files: logrotate.py
messages: 405104
nosy: ivogrondman, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: TimedRotatingFileHandler backupCount not working
versions: Python 3.10
Added file: https://bugs.python.org/file50397/logrotate.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45628>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to