summaryrefslogtreecommitdiffstats
path: root/Lib/logging/handlers.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-9/+14
| | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* add context parameter to HTTPHandler (closes #22788)Benjamin Peterson2014-11-241-2/+7
|
* Brought excluded code into the scope of a try block in SysLogHandler.emit().Vinay Sajip2014-11-011-14/+14
|
* Issue #22646: Accept list as well as tuple to support initialisation via ↵Vinay Sajip2014-10-171-2/+2
| | | | dictConfig().
* Issue #21742: Set stream to None after closing.Vinay Sajip2014-06-141-0/+1
|
* Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-201-2/+1
|
* Issue #19182: Fixed socket leak on exception when connecting.Vinay Sajip2013-10-061-1/+5
|
* logging: added support for Unix domain sockets to SocketHandler and ↵Vinay Sajip2013-09-271-3/+17
| | | | DatagramHandler.
* Closes #18941: Merged fix from 3.3.Vinay Sajip2013-09-061-2/+4
|\
| * Issue #18941: Respected delay when doing rollover.Vinay Sajip2013-09-061-2/+4
| |
* | Closes #18940: Merged fix from 3.3.Vinay Sajip2013-09-061-1/+3
|\ \ | |/
| * Issue #18940: Handled low-volume logging when delay is True.Vinay Sajip2013-09-061-1/+3
| |
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-2/+2
| |
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-2/+2
| | | | | | | | ModuleNotFoundError.
* | Closes #17981: Merged fix from 3.3.Vinay Sajip2013-05-161-0/+1
|\ \ | |/
| * Issue #17981: Closed socket on error in SysLogHandler.Vinay Sajip2013-05-161-0/+1
| |
* | Closes #17795: Reverted backwards-incompatible change in SysLogHandler with ↵Vinay Sajip2013-04-221-4/+27
|\ \ | |/ | | | | Unix domain sockets.
| * Issue #17795: Reverted backwards-incompatible change in SysLogHandler with ↵Vinay Sajip2013-04-221-5/+24
| | | | | | | | Unix domain sockets.
* | Closed #9556: Allowed specifying a time-of-day for a ↵Vinay Sajip2013-04-121-7/+21
| | | | | | | | TimedRotatingFileHandler to rotate.
* | Issue #17516: use comment syntax for comments, instead of multiline stringVictor Stinner2013-03-261-4/+3
| |
* | modernize some modules' code by replacing ↵Giampaolo Rodola'2013-02-121-5/+2
| | | | | | | | OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.)
* | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-4/+4
| |
* | remove obsolete hasattr() check for socket.sendallGiampaolo Rodola'2012-10-261-9/+1
| |
* | Closes #16244: Merged change from 3.3.Vinay Sajip2012-10-161-2/+0
|\ \ | |/
| * Issue #16244: Merged change from 3.2.Vinay Sajip2012-10-161-2/+0
| |\
| | * Issue #16244: Remove file mode overrides.Vinay Sajip2012-10-161-2/+0
| | |
* | | logging's SocketHandler: get rid of some legacy code and use the newer ↵Giampaolo Rodola'2012-10-151-9/+1
| | | | | | | | | | | | socket.create_connection() utility function
* | | Closes #16168: Merged SysLogHandler update from 3.3.Vinay Sajip2012-10-091-8/+2
|\ \ \ | |/ /
| * | Issue #16168: Merged SysLogHandler update from 3.2.Vinay Sajip2012-10-091-8/+2
| |\ \ | | |/
| | * Issue #16168: Use specified socket type for domain sockets in SysLogHandler.Vinay Sajip2012-10-091-8/+2
| | |
* | | Issue #16141: replaced old-style exception handling code in logging with the ↵Vinay Sajip2012-10-091-21/+7
|/ / | | | | | | modern idiom.
* | Closes #15179: Merged fix from 3.2.Vinay Sajip2012-06-251-1/+5
|\ \ | |/
| * Issue #15179: Closed socket on connection failure. Thanks to Kazutaka Morita ↵Vinay Sajip2012-06-251-1/+5
| | | | | | | | for the patch.
* | Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks ↵Vinay Sajip2012-04-241-19/+30
|\ \ | |/ | | | | to John Mulligan for the problem report and patch.
| * Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks ↵Vinay Sajip2012-04-241-19/+30
| | | | | | | | to John Mulligan for the problem report and patch.
* | Issue #14622: Increased default timeout for SMTPHandler.Vinay Sajip2012-04-221-1/+1
| |
* | Closes #14452: remove BOM insertion code.Vinay Sajip2012-04-161-1/+1
|\ \ | |/
| * Closes #14452: remove BOM insertion code.Vinay Sajip2012-04-161-2/+0
| |
* | Closes #14436: merged fix from 3.2.Vinay Sajip2012-03-291-5/+10
|\ \ | |/
| * Closes #14436: Convert msg + args to string before pickling.Vinay Sajip2012-03-291-5/+10
| |
| * Closes #14314: backported fix.Vinay Sajip2012-03-231-1/+2
| |
* | Fixes #14314: Improved SMTP timeout handling.Vinay Sajip2012-03-151-2/+5
| |
* | Closes #14267: Merged fix from 3.2.Vinay Sajip2012-03-131-6/+15
|\ \ | |/
| * Closes #14267: Corrected computation of rollover filename.Vinay Sajip2012-03-131-6/+15
| |
* | Merged fix added for recent changes in non-threading environments.Vinay Sajip2012-02-231-5/+20
|\ \ | |/
| * Fix added for recent changes in non-threading environments.Vinay Sajip2012-02-231-5/+20
| |
* | Merged logging flush/close changes from 3.2.Vinay Sajip2012-02-231-17/+21
|\ \ | |/
| * logging: Added locking in flush() and close() handler methods. Thanks to ↵Vinay Sajip2012-02-231-18/+22
| | | | | | | | Fayaz Yusuf Khan for the suggestion.
* | Refactored logging rotating handlers for improved flexibility.Vinay Sajip2012-01-041-14/+56
| |
* | logging: replace codecs.open with builtins.open, remove '_encoded' sort, add ↵Florent Xicluna2011-11-071-10/+2
| | | | | | | | some tests.