Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 350 Bytes

2021-02-26-13-17-57.bpo-40469.yJHeQg.rst

File metadata and controls

5 lines (5 loc) · 350 Bytes

:class:`~logging.handlers.TimedRotatingFileHandler` now uses the creation time instead of the last modification time of an existing log file as the basis for the first rotation after handler creation, if supported by the OS and file system. This allows it to be used in short-running programs that start and end before the rotation interval expires.