Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.11] gh-110875: Handle '.' properties in logging formatter configuration ↵ | Vinay Sajip | 2023-11-09 | 1 | -6/+6 |
| | | | | | | correctly. (GH-110943) (GH-111914) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> | ||||
* | [3.11] gh-103606: Improve error message from logging.config.FileConfig ↵ | Prince Roshan | 2023-05-21 | 1 | -6/+17 |
| | | | | | | | | | (GH-103628) (#104687) * gh-103606: Improve error message from logging.config.FileConfig (GH-103628) (cherry picked from commit 152227b569c3a9b87fe0483706f704762ced6d75) plus backport the followup exception change fix to that in #104701 | ||||
* | [3.11] gh-90195: Unset logger disabled flag when configuring it. (GH-96530) ↵ | Vinay Sajip | 2022-09-03 | 1 | -0/+1 |
| | | | | (GH-96532) | ||||
* | 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-43731: Add an `encoding` parameter to logging.fileConfig() (GH-25273) | Inada Naoki | 2021-04-13 | 1 | -2/+3 |
| | |||||
* | bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (GH-17773) | Vinay Sajip | 2020-01-01 | 1 | -1/+1 |
| | | | | | | | 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 Cimon | 2019-10-31 | 1 | -0/+1 |
| | |||||
* | Updated incorrect level-setting code to use setLevel(). (GH-16325) | Vinay Sajip | 2019-09-22 | 1 | -5/+6 |
| | |||||
* | bpo-34844: logging.Formatter enhancement - Ensure style and format string ↵ | BNMetrics | 2018-10-15 | 1 | -1/+9 |
| | | | | matches in logging.Formatter (GH-9703) | ||||
* | bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008) | Xtreak | 2018-07-02 | 1 | -4/+11 |
| | |||||
* | Revert unneccessary changes made in bpo-30296 and apply other improvements. ↵ | Serhiy Storchaka | 2018-02-26 | 1 | -2/+2 |
| | | | | (GH-2624) | ||||
* | Changed lambda to str.strip in _strip_spaces in logging.config (#4332) | sanjayp | 2017-11-15 | 1 | -2/+2 |
| | |||||
* | bpo-30830: logging.config.listen() calls server_close() (#3524) | Victor Stinner | 2017-09-13 | 1 | -1/+1 |
| | | | | | | | | | | 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 Pitrou | 2017-09-07 | 1 | -8/+1 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | bpo-31080: Allowed logging.config.fileConfig() to accept both args and ↵ | Preston Landers | 2017-08-02 | 1 | -2/+4 |
| | | | | kwargs. (GH-2979) | ||||
* | bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) | Jon Dufresne | 2017-05-18 | 1 | -2/+2 |
| | | | | | | | | * 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 Sajip | 2016-10-03 | 1 | -1/+1 |
| | |||||
* | Closes #28335: used 'raise from' in logging configuration code. | Vinay Sajip | 2016-10-03 | 1 | -16/+16 |
| | |||||
* | Closes #21203: Updated fileConfig and dictConfig to remove inconsistencies. ↵ | Vinay Sajip | 2014-04-15 | 1 | -2/+8 |
| | | | | Thanks to Jure Koren for the patch. | ||||
* | Issue #20444: Reduced code duplication. | Vinay Sajip | 2014-03-20 | 1 | -50/+34 |
| | |||||
* | Issue #20558: Improved implementation of error handling. | Vinay Sajip | 2014-03-20 | 1 | -12/+11 |
| | |||||
* | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+1 |
| | |||||
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | |||||
* | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -1/+1 |
| | | | | ModuleNotFoundError. | ||||
* | Closes #18046: Simplified logging internals relating to levels and their ↵ | Vinay Sajip | 2013-05-25 | 1 | -3/+3 |
| | | | | names. Thanks to Alex Gaynor for the patch. | ||||
* | Closes #17540: Merged fix from 3.3. | Vinay Sajip | 2013-03-29 | 1 | -2/+4 |
|\ | |||||
| * | Issue #17540: Added style to Formatter configuration by dict. | Vinay Sajip | 2013-03-29 | 1 | -2/+4 |
| | | |||||
* | | Closes #17521: Merged fix from 3.3. | Vinay Sajip | 2013-03-23 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #17521: Merged fix from 3.2. | Vinay Sajip | 2013-03-23 | 1 | -2/+2 |
| |\ | |||||
| | * | Issue #17521: Corrected non-enabling of logger following two calls to ↵ | Vinay Sajip | 2013-03-23 | 1 | -2/+2 |
| | | | | | | | | | | | | fileConfig(). | ||||
* | | | Closes #17508: Merged fix from 3.3. | Vinay Sajip | 2013-03-22 | 1 | -4/+24 |
|\ \ \ | |/ / | |||||
| * | | Issue #17508: Merged fix from 3.2. | Vinay Sajip | 2013-03-22 | 1 | -4/+24 |
| |\ \ | | |/ | |||||
| | * | Issue #17508: Handled out-of-order handler configuration correctly. | Vinay Sajip | 2013-03-22 | 1 | -4/+24 |
| | | | |||||
* | | | Issue #16717: get rid of socket.error, replace with OSError | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | | |||||
* | | | Allow configuration of handler properties. | Vinay Sajip | 2012-11-15 | 1 | -0/+4 |
| | | | |||||
* | | | Closes #16110: fileConfig now accepts a pre-initialised ConfigParser instance. | Vinay Sajip | 2012-10-09 | 1 | -4/+7 |
| | | | |||||
* | | | Issue #16141: replaced old-style exception handling code in logging with the ↵ | Vinay Sajip | 2012-10-09 | 1 | -4/+2 |
| | | | | | | | | | | | | modern idiom. | ||||
* | | | Updated docstring for logging.config.listen(). | Vinay Sajip | 2012-10-02 | 1 | -2/+11 |
| | | | |||||
* | | | Issue #15452: Added verify option for logging configuration socket listener. | Vinay Sajip | 2012-10-02 | 1 | -19/+25 |
|/ / | |||||
* | | logging: replace codecs.open with builtins.open, remove '_encoded' sort, add ↵ | Florent Xicluna | 2011-11-07 | 1 | -8/+4 |
| | | | | | | | | some tests. | ||||
* | | Merge 3.2 | Florent Xicluna | 2011-10-28 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Closes #13258: Use callable() built-in in the standard library. | Florent Xicluna | 2011-10-28 | 1 | -2/+2 |
| | | |||||
* | | More test_logging coverage improvements. | Vinay Sajip | 2011-04-26 | 1 | -3/+3 |
|/ | |||||
* | #Issue 11424: added equivalent fixes for dictConfig. | Vinay Sajip | 2011-03-07 | 1 | -6/+5 |
| | |||||
* | #Issue 11424: merged fix from 3.1. | Vinay Sajip | 2011-03-07 | 1 | -5/+5 |
|\ | |||||
| * | Issue #11424: Fix bug in determining child loggers. | Vinay Sajip | 2011-03-07 | 1 | -5/+5 |
| | | |||||
| * | Merged revisions 86019 via svnmerge from | Brian Curtin | 2010-10-31 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86019 | brian.curtin | 2010-10-30 23:40:53 -0500 (Sat, 30 Oct 2010) | 2 lines Fix a ResourceWarning for an unclosed socket. ........ | ||||
| * | Issue #9947: logging: backported locking fix from py3k. | Vinay Sajip | 2010-09-27 | 1 | -5/+7 |
| | | |||||
* | | Issue #5412: extend configparser to support mapping access | Łukasz Langa | 2010-11-10 | 1 | -45/+25 |
| | |