aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/logging/config.py
Commit message (Collapse)AuthorAge
* gh-115032: Deprecate support for custom logging handlers with 'strm' ↵Mariusz Felisiak5 days
| | | | argument. (GH-115314)
* gh-124653: Relax (again) detection of queue API for logging handlers ↵Bénédikt Tran2024-10-07
| | | | (GH-124897)
* gh-121723: Relax constraints on queue objects for ↵Bénédikt Tran2024-08-02
| | | | `logging.handlers.QueueHandler`. (GH-122154)
* gh-120868: Fix breaking change in `logging.config` when using `QueueHandler` ↵Janek Nouvertné2024-06-27
| | | | (GH-120872)
* gh-120485: Add an override of `allow_reuse_port` on classes subclassing ↵Idan Kapustian2024-06-16
| | | | | `socketserver.TCPServer` (GH-120488) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
* gh-119819: Update logging configuration to support joinable multiproc… ↵Vinay Sajip2024-06-05
| | | | | (GH-120090) gh-119819: Update logging configuration to support joinable multiprocessing manager queues.
* gh-119819: Fix regression to allow logging configuration with multipr… ↵Vinay Sajip2024-06-04
| | | | (GH-120030)
* gh-118868: logging QueueHandler fix passing of kwargs (GH-118869)Kaundur2024-06-04
| | | | Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
* gh-117975: Ensure flush level is checked when configuring a logging ↵Vinay Sajip2024-04-17
| | | | MemoryHandler. (GH-117976)
* gh-115032: Update DictConfigurator.configure_formatter() comment about `fmt` ↵Mariusz Felisiak2024-02-13
| | | | retry. (GH-115303)
* gh-111615: Fix regression in QueueHandler configuration. (GH-111638)Vinay Sajip2023-12-27
|
* gh-110875: Handle '.' properties in logging formatter configuration c… ↵Vinay Sajip2023-11-09
| | | | (GH-110943)
* gh-109461: Update logging module lock to use context manager (#109462)Dale Collison2023-09-27
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-103384: Generalize the regex pattern `BaseConfigurator.INDEX_PATTERN` to ↵Peeyush Aggarwal2023-08-25
| | | | | | | allow spaces and non-alphanumeric characters in keys. (GH-103391) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Erlend E. Aasland <erlend@python.org>
* gh-103606: raise RuntimeError if config file is invalid or empty (#104701)Prince Roshan2023-05-20
| | | (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 Roshan2023-05-18
|
* gh-103357: Add logging.Formatter defaults support to logging.config ↵Bar Harel2023-04-12
| | | | fileConfig and dictConfig (GH-103359)
* gh-90195: Unset logger disabled flag when configuring it. (GH-96530)Vinay Sajip2022-09-03
|
* gh-93162: Add ability to configure QueueHandler/QueueListener together ↵Vinay Sajip2022-06-07
| | | | | | | (GH-93269) Also, provide getHandlerByName() and getHandlerNames() APIs. Closes #93162.
* bpo-41906: Accept built filters in dictConfig (GH-30756)Mario Corchero2022-01-24
| | | | | | | 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 Katriel2022-01-10
|
* bpo-43731: Add an `encoding` parameter to logging.fileConfig() (GH-25273)Inada Naoki2021-04-13
|
* bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (GH-17773)Vinay Sajip2020-01-01
| | | | | | | This uses the heuristic of assuming a named tuple is a subclass of tuple with a _fields attribute. This change means that contents of a named tuple wouldn't be converted - if a user wants to have ConvertingTuple functionality from a namedtuple, they will have to implement it themselves.
* bpo-38586: setting logging.Handler .name property in fileConfig (GH-16918)Lucas Cimon2019-10-31
|
* Updated incorrect level-setting code to use setLevel(). (GH-16325)Vinay Sajip2019-09-22
|
* bpo-34844: logging.Formatter enhancement - Ensure style and format string ↵BNMetrics2018-10-15
| | | | matches in logging.Formatter (GH-9703)
* bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008)Xtreak2018-07-02
|
* Revert unneccessary changes made in bpo-30296 and apply other improvements. ↵Serhiy Storchaka2018-02-26
| | | | (GH-2624)
* Changed lambda to str.strip in _strip_spaces in logging.config (#4332)sanjayp2017-11-15
|
* bpo-30830: logging.config.listen() calls server_close() (#3524)Victor Stinner2017-09-13
| | | | | | | | | | The ConfigSocketReceiver.serve_until_stopped() method from logging.config.listen() now calls server_close() (of socketserver.ThreadingTCPServer) rather than closing manually the socket. While this change has no effect yet, it will help to prevent dangling threads once ThreadingTCPServer.server_close() will join spawned threads (bpo-31233).
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-07
| | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility.
* bpo-31080: Allowed logging.config.fileConfig() to accept both args and ↵Preston Landers2017-08-02
| | | | kwargs. (GH-2979)
* bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489)Jon Dufresne2017-05-18
| | | | | | | | * Replaced list(<generator expression>) with list comprehension * Replaced dict(<generator expression>) with dict comprehension * Replaced set(<list literal>) with set literal * Replaced builtin func(<list comprehension>) with func(<generator expression>) when supported (e.g. any(), all(), tuple(), min(), & max())
* Issue #28335: made minor improvement to implementation.Vinay Sajip2016-10-03
|
* Closes #28335: used 'raise from' in logging configuration code.Vinay Sajip2016-10-03
|
* Closes #21203: Updated fileConfig and dictConfig to remove inconsistencies. ↵Vinay Sajip2014-04-15
| | | | Thanks to Jure Koren for the patch.
* Issue #20444: Reduced code duplication.Vinay Sajip2014-03-20
|
* Issue #20558: Improved implementation of error handling.Vinay Sajip2014-03-20
|
* Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-20
|
* Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-04
|
* Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-13
| | | | ModuleNotFoundError.
* Closes #18046: Simplified logging internals relating to levels and their ↵Vinay Sajip2013-05-25
| | | | names. Thanks to Alex Gaynor for the patch.
* Closes #17540: Merged fix from 3.3.Vinay Sajip2013-03-29
|\
| * Issue #17540: Added style to Formatter configuration by dict.Vinay Sajip2013-03-29
| |
* | Closes #17521: Merged fix from 3.3.Vinay Sajip2013-03-23
|\|
| * Issue #17521: Merged fix from 3.2.Vinay Sajip2013-03-23
| |\
| | * Issue #17521: Corrected non-enabling of logger following two calls to ↵Vinay Sajip2013-03-23
| | | | | | | | | | | | fileConfig().
* | | Closes #17508: Merged fix from 3.3.Vinay Sajip2013-03-22
|\| |
| * | Issue #17508: Merged fix from 3.2.Vinay Sajip2013-03-22
| |\|
| | * Issue #17508: Handled out-of-order handler configuration correctly.Vinay Sajip2013-03-22
| | |