| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [3.12] gh-124653: Relax (again) detection of queue API for logging handlers ↵ | Miss Islington (bot) | 2024-10-08 | 1 | -7/+7 |
| | | | | | | (GH-124897) (GH-125060) (cherry picked from commit 7ffe94fb242fd51bb07c7f0d31e94efeea3619d4) | ||||
| * | [3.12] gh-116263: Do not rollover empty files in RotatingFileHandler ↵ | Miss Islington (bot) | 2024-09-06 | 1 | -2/+5 |
| | | | | | | | | (GH-122788) (#122815) (cherry picked from commit 6094c6fc2fc30eb9ee7c2f9f1088a851f71bf1b9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
| * | [3.12] gh-121723: Relax constraints on queue objects for ↵ | Miss Islington (bot) | 2024-08-02 | 1 | -26/+29 |
| | | | | | | `logging.handlers.QueueHandler`. (GH-122154) (GH-122604) (cherry picked from commit fb864c76cd5e450e789a7b4095832e118cc49a39) | ||||
| * | [3.12] gh-120868: Fix breaking change in `logging.config` when using ↵ | Miss Islington (bot) | 2024-06-28 | 1 | -17/+36 |
| | | | | | | `QueueHandler` (GH-120872) (GH-121077) (cherry picked from commit 7d9c68513d112823a9a6cdc7453b998b2c24eb4c) | ||||
| * | [3.12] gh-105623 Fix performance degradation in logging RotatingFileHandler ↵ | Miss Islington (bot) | 2024-06-28 | 1 | -3/+3 |
| | | | | | | | | | | | | | | (GH-105887) (GH-121116) 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 e9b4ec614b66d11623b80471409c16a109f888d5) Co-authored-by: Craig Robson <craig@zhatt.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> | ||||
| * | [3.12] gh-119819: Update logging configuration to support joinable ↵ | Miss Islington (bot) | 2024-06-05 | 1 | -1/+3 |
| | | | | | | multiproc… (GH-120090) (GH-120092) (cherry picked from commit 983efcf15b2503fe0c05d5e03762385967962b33) | ||||
| * | [3.12] gh-119819: Fix regression to allow logging configuration with ↵ | Miss Islington (bot) | 2024-06-04 | 1 | -1/+3 |
| | | | | | | multipr… (GH-120030) (GH-120034) (cherry picked from commit 99d945c0c006e3246ac00338e37c443c6e08fc5c) | ||||
| * | [3.12] gh-118868: logging QueueHandler fix passing of kwargs (GH-118869) ↵ | Miss Islington (bot) | 2024-06-04 | 1 | -8/+8 |
| | | | | | | (GH-120031) (cherry picked from commit dce14bb2dce7887df40ae5c13b0d13e0dafceff7) | ||||
| * | [3.12] gh-117975: Ensure flush level is checked when configuring a logging ↵ | Miss Islington (bot) | 2024-04-17 | 1 | -12/+14 |
| | | | | | | MemoryHandler. (GH-117976) (GH-117986) (cherry picked from commit 6d0bb43232dd6ebc5245daa4fe29f07f815f0bad) | ||||
| * | [3.12] [docs] Fix typo in docstring and add example to logging cookbook. ↵ | Miss Islington (bot) | 2024-03-22 | 1 | -1/+1 |
| | | | | | | (GH-117157) (GH-117159) (cherry picked from commit 00baaa21de229a6db80ff2b84c2fd6ad1999a24c) | ||||
| * | [3.12] gh-90535: Fix support of interval>1 in ↵ | Miss Islington (bot) | 2024-03-18 | 1 | -1/+4 |
| | | | | | | | | | | logging.TimedRotatingFileHandler (GH-116220) (GH-116892) Fix support of interval values > 1 in logging.TimedRotatingFileHandler for when='MIDNIGHT' and when='Wx'. (cherry picked from commit 269051d20e65eda30734cbbbdb07d21df61978d6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
| * | [3.12] gh-115809: Improve TimedRotatingFileHandler.getFilesToDelete() ↵ | Miss Islington (bot) | 2024-03-03 | 1 | -27/+24 |
| | | | | | | | | | | | | (GH-115812) (GH-116261) Improve algorithm for computing which rolled-over log files to delete in logging.TimedRotatingFileHandler. It is now reliable for handlers without namer and with arbitrary deterministic namer that leaves the datetime part in the file name unmodified. (cherry picked from commit 87faec28c78f6fa8eaaebbd1ababf687c7508e71) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
| * | [3.12] gh-114494: Change logging docstring to bool for exec_info (GH=114558) ↵ | Miss Islington (bot) | 2024-03-02 | 1 | -6/+6 |
| | | | | | | | | (GH-114624) (cherry picked from commit 07236f5b39a2e534cf190cd4f7c73300d209520b) Co-authored-by: Tristan Pank <tristanpank@gmail.com> | ||||
| * | [3.12] gh-88352: Fix logging.TimedRotatingFileHandler (GH-116191) (GH-116208) | Miss Islington (bot) | 2024-03-01 | 1 | -30/+21 |
| | | | | | | | | | | | * Do not overwrite already rolled over files. It happened at midnight or during the DST change and caused the loss of data. * computeRollover() now always return the timestamp larger than the specified time. * Fix computation of the rollover time during the DST change. (cherry picked from commit fee86fd9a422612b39e5aabf2571b8fe4abac770) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
| * | [3.12] gh-93205: When rotating logs with no namer specified, match whole ↵ | Miss Islington (bot) | 2024-02-21 | 1 | -19/+24 |
| | | | | | | | | extension (GH-93224) (GH-115784) (cherry picked from commit 113687a8381d6dde179aeede607bcbca5c09d182) Co-authored-by: Gabriele Catania <gabriele.ctn@gmail.com> | ||||
| * | [3.12] gh-115233: Fix an example in the Logging Cookbook (GH-115325) (GH-115355) | Serhiy Storchaka | 2024-02-12 | 1 | -9/+2 |
| | | | | | | | Also add more tests for LoggerAdapter. Also support stacklevel in LoggerAdapter._log(). (cherry picked from commit 91822018eeba12a6c9eabbc748363b2fd4291b30) | ||||
| * | [3.12] gh-111615: Fix regression in QueueHandler configuration. (GH-111638) ↵ | Miss Islington (bot) | 2023-12-27 | 1 | -17/+19 |
| | | | | | (GH-113507) | ||||
| * | [3.12] gh-110875: Handle '.' properties in logging formatter configuration ↵ | Miss Islington (bot) | 2023-11-09 | 1 | -4/+4 |
| | | | | | | | c… (GH-110943) (GH-111911) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> | ||||
| * | [3.12] gh-111276: Clarify docs and comments about the role of LC_CTYPE ↵ | Miss Islington (bot) | 2023-10-27 | 1 | -4/+2 |
| | | | | | | | | | | | | | | (GH-111319) (#111391) Fix locale.LC_CTYPE documentation to no longer mention string.lower() et al. Those functions were removed in Python 3.0: https://docs.python.org/2/library/string.htmlGH-deprecated-string-functions Also, fix a comment in logging about locale-specific behavior of `str.lower()`. (cherry picked from commit 6d42759c5e47ab62d60a72b4ff15d29864554579) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
| * | [3.12] gh-107028: tiny textual changes in logging docs and docstrings ↵ | Miss Islington (bot) | 2023-07-22 | 1 | -1/+1 |
| | | | | | | (GH-107029) (GH-107065) (cherry picked from commit 5e5a34ac3a827e040cd89426b1774fec2123336a) | ||||
| * | gh-103606: raise RuntimeError if config file is invalid or empty (#104701) | Prince Roshan | 2023-05-20 | 1 | -2/+2 |
| | | | | (this adjusts new code) raise RuntimeError if provided config file is invalid or empty, not ValueError. | ||||
| * | gh-103606: Improve error message from logging.config.FileConfig (GH-103628) | Prince Roshan | 2023-05-18 | 1 | -6/+16 |
| | | |||||
| * | gh-103357: Add logging.Formatter defaults support to logging.config ↵ | Bar Harel | 2023-04-12 | 1 | -3/+19 |
| | | | | | fileConfig and dictConfig (GH-103359) | ||||
| * | gh-102799: use exception instance instead of sys.exc_info() (#102885) | Irit Katriel | 2023-03-31 | 1 | -2/+2 |
| | | |||||
| * | gh-99811: Use correct variable to search for time in format string (GH-99812) | cemysce | 2022-11-28 | 1 | -1/+1 |
| | | | | Use correct variable to search for asctime | ||||
| * | gh-98307: Add docstring and documentation for SysLogHandler.createSocket ↵ | Vinay Sajip | 2022-10-16 | 1 | -1/+8 |
| | | | | | | (GH-98319) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
| * | gh-90195: Unset logger disabled flag when configuring it. (GH-96530) | Vinay Sajip | 2022-09-03 | 1 | -0/+1 |
| | | |||||
| * | gh-89258: Add a getChildren() method to logging.Logger. (GH-96444) | Vinay Sajip | 2022-08-31 | 1 | -0/+19 |
| | | | | Co-authored-by: Éric <merwok@netwok.org> | ||||
| * | gh-89047: Fix msecs computation so you never end up with 1000 msecs. (GH-96340) | Vinay Sajip | 2022-08-27 | 1 | -1/+1 |
| | | |||||
| * | gh-92007: Handle elevation errors in NTEventLogHandler more grace… (GH-96322) | Vinay Sajip | 2022-08-27 | 1 | -1/+10 |
| | | |||||
| * | gh-96159: Fix significant performance degradation in logging.TimedRotat… ↵ | Duncan Grisby | 2022-08-23 | 1 | -3/+7 |
| | | | | | (GH-96182) | ||||
| * | gh-95804: Respect MemoryHandler.flushOnClose in logging shutdown. (GH-95857) | David Bonner | 2022-08-10 | 1 | -1/+5 |
| | | |||||
| * | gh-95454: Replace truthy/falsy with true/false (GH-95456) | Robert O'Shea | 2022-07-30 | 1 | -6/+6 |
| | | |||||
| * | bpo-46755: Don't log stack info twice in QueueHandler (GH-31355) | Erik Montnemery | 2022-07-05 | 1 | -1/+2 |
| | | |||||
| * | gh-92592: Allow logging filters to return a LogRecord. (GH-92591) | Adrian Garcia Badaracco | 2022-06-07 | 1 | -10/+33 |
| | | |||||
| * | gh-93162: Add ability to configure QueueHandler/QueueListener together ↵ | Vinay Sajip | 2022-06-07 | 3 | -12/+105 |
| | | | | | | | | (GH-93269) Also, provide getHandlerByName() and getHandlerNames() APIs. Closes #93162. | ||||
| * | [doc] Correct a grammatical error in a docstring. (GH-93441) | Colin Delahunty | 2022-06-04 | 1 | -1/+1 |
| | | |||||
| * | gh-91513: Add 'asyncio' taskName to logging LogRecord attributes. (GH-93193) | jackh-ncl | 2022-05-26 | 1 | -3/+18 |
| | | |||||
| * | Delete outdated comment in logging module (#31117) | Thomas Miedema | 2022-05-02 | 1 | -2/+0 |
| | | | | | | | The root logger is now accessible via its name, see https://github.com/python/cpython/pull/15077 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
| * | gh-92128: Add `__class_getitem__` to `logging.LoggerAdapter` and ↵ | Alex Waygood | 2022-05-02 | 1 | -0/+5 |
| | | | | | | `logging.StreamHandler` (#92129) Closes #92128 | ||||
| * | bpo-45171: Remove tests of deprecated logger.warn(). (GH-32139) | Jouke Witteveen | 2022-03-27 | 1 | -1/+1 |
| | | |||||
| * | bpo-45171: Fix stacklevel handling in logging. (GH-28287) | Jouke Witteveen | 2022-03-27 | 1 | -32/+35 |
| | | |||||
| * | bpo-46557: Log captured warnings without format string (GH-30975) | Michael P. Nitowski | 2022-03-15 | 1 | -1/+3 |
| | | |||||
| * | bpo-41906: Accept built filters in dictConfig (GH-30756) | Mario Corchero | 2022-01-24 | 1 | -1/+5 |
| | | | | | | | | When configuring the logging stack, accept already built filters (or just callables) in the filters array of loggers and handlers. This facilitates passing quick callables as filters. Automerge-Triggered-By: GH:vsajip | ||||
| * | bpo-46332: use raise..from instead of assigning __cause__ and raising (GH-30517) | Irit Katriel | 2022-01-10 | 1 | -5/+2 |
| | | |||||
| * | bpo-46063: Improve algorithm for computing which rolled-over log file… ↵ | Vinay Sajip | 2021-12-14 | 1 | -3/+16 |
| | | | | | (GH-30093) | ||||
| * | bpo-45628: Check all parts of the suffix for an extension match. (GH-29310) | Vinay Sajip | 2021-10-29 | 1 | -2/+7 |
| | | |||||
| * | bpo-45401: Change shouldRollover() methods to only rollover regular f… ↵ | Vinay Sajip | 2021-10-10 | 1 | -4/+10 |
| | | | | | | | | (GH-28822) …iles. Also changed some historical return values from 1 -> True and 0 -> False. | ||||
| * | bpo-44291: Fix reconnection in logging.handlers.SysLogHandler (GH-26490) | Kirill Pinchuk | 2021-08-05 | 1 | -25/+38 |
| | | |||||
| * | bpo-44753: Don't use logfile extension when determining old files to be ↵ | Vinay Sajip | 2021-07-30 | 1 | -1/+2 |
| | | | | | deleted (GH-27475) | ||||
