cpython/Lib/logging
Miss Islington (bot) e310d2bd71
[3.13] gh-105623 Fix performance degradation in logging RotatingFileHandler (GH-105887) (GH-121117)
The check for whether the log file is a real file is expensive on NFS
filesystems.  This commit reorders the rollover condition checking to
not do the file type check if the expected file size is less than the
rotation threshold.

(cherry picked from commit e9b4ec614b)

Co-authored-by: Craig Robson <craig@zhatt.com>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2024-06-28 09:23:38 +00:00
..
__init__.py [3.13] gh-120683: Fix an error in logging.LogRecord timestamp (GH-120709) (GH-120933) 2024-06-24 07:14:26 +00:00
config.py [3.13] gh-120868: Fix breaking change in `logging.config` when using `QueueHandler` (GH-120872) (GH-121078) 2024-06-27 10:09:17 +01:00
handlers.py [3.13] gh-105623 Fix performance degradation in logging RotatingFileHandler (GH-105887) (GH-121117) 2024-06-28 09:23:38 +00:00