summaryrefslogtreecommitdiffstats
path: root/Lib/logging
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-30830: logging.config.listen() calls server_close() (#3524)Victor Stinner2017-09-131-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 Pitrou2017-09-073-131/+111
| | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility.
* bpo-31080: Allowed logging.config.fileConfig() to accept both args and ↵Preston Landers2017-08-021-2/+4
| | | | kwargs. (GH-2979)
* bpo-31084: QueueHandler now formats messages correctly. (GH-2954)favll2017-08-011-4/+5
|
* Updated LoggerAdapter.isEnabledFor to take advantage of caching. (GH-2951)Vinay Sajip2017-07-301-3/+1
|
* bpo-30522: Implemented a method to allow setting a logging.StreamHander's ↵Vinay Sajip2017-07-301-0/+20
| | | | stream. (GH-2921)
* bpo-30962: Added caching to Logger.isEnabledFor() (GH-2752)Avram Lubkin2017-07-301-3/+27
|
* bpo-30520: Implemented pickling for loggers. (#1956)Vinay Sajip2017-06-061-2/+13
| | | Implemented pickling for loggers.
* bpo-30378: Fix the problem that SysLogHandler can't handle IPv6 addresses ↵Xiang Zhang2017-06-011-5/+20
| | | | (#1676)
* bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489)Jon Dufresne2017-05-181-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())
* bpo-30144: Import collections ABC from collections.abc rather than ↵Serhiy Storchaka2017-04-241-3/+3
| | | | collections. (#1263)
* bpo-29808: SysLogHandler: Do not fail if initial connect to syslog failed ↵Коренберг Марк2017-03-171-1/+8
| | | | (#663) (#663)
* Issue #29220: Merged fixes from 3.6.Vinay Sajip2017-01-111-5/+6
|\
| * Issue #292Merged fixes from 3.5.Vinay Sajip2017-01-111-3/+8
| |\
| | * Issue #29220: Improved fix and test.Vinay Sajip2017-01-111-3/+8
| | |
* | | Closes #29220: Fixed regression in logging.getLevelName().Vinay Sajip2017-01-111-3/+7
| | |
* | | Closes #28524: added default level for logging.disable().Vinay Sajip2016-12-311-1/+1
| | |
* | | Issue #28335: made minor improvement to implementation.Vinay Sajip2016-10-031-1/+1
| | |
* | | Closes #28335: used 'raise from' in logging configuration code.Vinay Sajip2016-10-031-16/+16
|/ /
* | Closes #27930: Merged fix from 3.5.Vinay Sajip2016-09-081-15/+2
|\ \ | |/
| * Fixes #27930: improved QueueListener behaviour.Vinay Sajip2016-09-081-17/+4
| |
| * Fixes #27937: optimise code used in all logging calls.Vinay Sajip2016-09-031-4/+5
| |
* | Closes #27935: returned numeric value for 'FATAL' logging level.Vinay Sajip2016-09-031-0/+1
| |
* | Fixes #27937: optimise code used in all logging calls.Vinay Sajip2016-09-031-2/+3
| |
* | Closes #27650: Implemented repr methods for logging objects.Vinay Sajip2016-08-061-0/+27
| |
* | Closes #27493: accepted Path objects in file handlers for logging.Vinay Sajip2016-07-222-2/+7
| |
* | Closes #26559: Allow configuring flush-on-close behaviour of MemoryHandler.Vinay Sajip2016-07-221-5/+15
| |
* | Fixed #27251: merged fix from 3.5.Vinay Sajip2016-06-071-2/+2
|\ \ | |/
| * Fixed #27251: corrected string/bytes handling in credentials.Vinay Sajip2016-06-071-2/+2
| |
* | merge with 3.5Georg Brandl2016-02-251-2/+2
|\ \ | |/
| * Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak.Georg Brandl2016-02-251-2/+2
| |
* | Closes #25685: Merged fix from 3.5.Vinay Sajip2015-12-261-0/+2
|\ \ | |/
| * Closes #25685: Made SocketHandler emission more efficient.Vinay Sajip2015-12-261-0/+2
| |
* | Issue #23883: Add missing APIs to __all__; patch by Jacek KołodziejMartin Panter2015-11-141-2/+3
| |
* | Closes #25411: Merged fix from 3.5.Vinay Sajip2015-10-171-8/+10
|\ \ | |/
| * Closes #25411: Merged fix from 3.4.Vinay Sajip2015-10-171-8/+10
| |\
| | * Closes #25411: Improved Unicode support in SMTPHandler.Vinay Sajip2015-10-171-10/+12
| | |
* | | Closes #24884: refactored WatchedFileHandler file reopening into a separate ↵Vinay Sajip2015-10-011-3/+12
|/ / | | | | | | method, based on a suggestion and patch by Marian Horban.
* | Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-102-17/+27
|\ \ | |/ | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
| * Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-102-17/+27
| | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* | Issue #23207: merged fix from 3.4.Vinay Sajip2015-03-181-1/+1
|\ \ | |/
| * Issue #23207: Improved kwarg validation.Vinay Sajip2015-03-181-1/+1
| |
* | Added respect_handler_level to QueueListener.Vinay Sajip2015-02-091-4/+10
| |
* | Closes #23207: logging.basicConfig() now does additional validation of its ↵Vinay Sajip2015-01-231-8/+11
|\ \ | |/ | | | | arguments.
| * Issue #23207: logging.basicConfig() now does additional validation of its ↵Vinay Sajip2015-01-231-8/+11
| | | | | | | | arguments.
* | Closes #21980: Added a __repr__ for LogRecord.Vinay Sajip2015-01-061-2/+4
| |
* | Closes #23151: Removed unnecessary initialization.Vinay Sajip2015-01-061-2/+0
| |
* | merge 3.4 (#22788)Benjamin Peterson2014-11-241-2/+7
|\ \ | |/
| * add context parameter to HTTPHandler (closes #22788)Benjamin Peterson2014-11-241-2/+7
| |
* | Closes #22776: Merged fix from 3.4.Vinay Sajip2014-11-011-14/+14
|\ \ | |/