This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients markhallett, martonivan, vinay.sajip
Date 2021-08-12.20:27:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628800048.91.0.663969788068.issue40469@roundup.psfhosted.org>
In-reply-to
Content
> The assumed behaviour of TimedRotatingFileHandler is to rotate log files older than configured. Even when the script is executed multiple times.

Ah, but is it? The purpose of TimedRotatingFileHandler is to rotate files based on time intervals, and is normally assumed to be for long-running processes (where the rotation allows one to focus on logs output during a period of interest). What's the practical, real-world use-case for the example scripts you added?
History
Date User Action Args
2021-08-12 20:27:28vinay.sajipsetrecipients: + vinay.sajip, markhallett, martonivan
2021-08-12 20:27:28vinay.sajipsetmessageid: <1628800048.91.0.663969788068.issue40469@roundup.psfhosted.org>
2021-08-12 20:27:28vinay.sajiplinkissue40469 messages
2021-08-12 20:27:28vinay.sajipcreate