Irit Katriel
2353d77fad
bpo-41503: Fix race between setTarget and flush in logging.handlers.MemoryHandler (GH-21765)
2020-08-16 16:10:13 +01:00
l0rb
22a9a546ff
bpo-39826: add getConnection() hook to logging HTTPHandler (GH-18745)
2020-03-04 10:49:51 +00:00
Vinay Sajip
ce54519aa0
bpo-39292: Add missing syslog facility codes. (GH-17945)
2020-01-10 19:37:48 +00:00
Daniel Andersson
d89cea15ad
bpo-38781: Clear buffer in MemoryHandler flush (GH-17132)
...
This makes it easier to use a custom buffer when subclassing
MemoryHandler (by avoiding the explicity empty list literal
assignment in the flush method). For example, collection.deque
can now be used without any modifications to MemoryHandler.flush.
The same applies to BufferingHandler.
2019-11-13 09:03:45 +00:00
l0rb
519cb8772a
bpo-38716: stop rotating handlers from setting inherited namer and rotator to None (GH-17072)
2019-11-06 21:21:40 +00:00
Vinay Sajip
ca7b504a4d
bpo-37111: Add 'encoding' and 'errors' parameters to logging.basicCon… (GH-14008)
2019-06-17 17:40:52 +01:00
Boris Feld
800d786370
Fix extraneous whitespace in QueueListener.prepare (GH-13803)
2019-06-04 16:20:17 +01:00
Bar Harel
6b282e1887
bpo-36813: Fix QueueListener to call task_done() upon termination. (GH-13113)
...
Fixed QueueListener in order to avoid random deadlocks.
Unable to add regression tests atm due to time constraints, will add it in a bit.
Regarding implementation, although it's nested, it does not cause performance issues whatsoever, and does not call task_done() in case of an exception (which is the right thing to do IMHO).
https://bugs.python.org/issue36813
2019-06-01 02:19:09 -07:00
Manjusaka
da6424e96a
bpo-35726: Prevented QueueHandler formatting from affecting other handlers (GH-11537)
...
QueueHandler.prepare() now makes a copy of the record before modifying and enqueueing it, to avoid affecting other handlers in the chain.
2019-01-23 07:08:38 +00:00
Cheryl Sabella
d345bb4d9b
bpo-34334: Don't log traceback twice in QueueHandler (GH-9537)
2018-09-26 00:00:08 +01:00
Vinay Sajip
e96ba183c4
bpo-30904: Removed duplicated Host: header. ( #4465 )
2017-11-19 18:36:17 +00:00
Lovesh Harchandani
afad147b59
bpo-30989: Sort in TimedRotatingFileHandler only when needed. (GH-2812)
...
TimedRotatingFileHandler.getFilesToDelete() now sorts only when needed.
2017-10-27 08:04:33 +01:00
Antoine Pitrou
a6a4dc816d
bpo-31370: Remove support for threads-less builds ( #3385 )
...
* Remove Setup.config
* Always define WITH_THREAD for compatibility.
2017-09-07 18:56:24 +02:00
favll
adfe3440f6
bpo-31084: QueueHandler now formats messages correctly. (GH-2954)
2017-08-01 19:12:26 +01:00
Xiang Zhang
0b4b57df96
bpo-30378: Fix the problem that SysLogHandler can't handle IPv6 addresses ( #1676 )
2017-06-01 21:11:56 +08:00
Коренберг Марк
1b038e0738
bpo-29808: SysLogHandler: Do not fail if initial connect to syslog failed ( #663 ) ( #663 )
2017-03-17 15:25:05 +00:00
Vinay Sajip
93e6b3314d
Closes #27930 : Merged fix from 3.5.
2016-09-08 01:24:12 +01:00
Vinay Sajip
d61910c598
Fixes #27930 : improved QueueListener behaviour.
2016-09-08 01:13:39 +01:00
Vinay Sajip
638e622055
Closes #27493 : accepted Path objects in file handlers for logging.
2016-07-22 18:23:04 +01:00
Vinay Sajip
cccf6068fa
Closes #26559 : Allow configuring flush-on-close behaviour of MemoryHandler.
2016-07-22 16:27:31 +01:00
Vinay Sajip
24a72ca239
Fixed #27251 : merged fix from 3.5.
2016-06-07 21:20:39 +01:00
Vinay Sajip
1bf197eb14
Fixed #27251 : corrected string/bytes handling in credentials.
2016-06-07 21:19:55 +01:00
Vinay Sajip
c1681674d4
Closes #25685 : Merged fix from 3.5.
2015-12-26 12:51:43 +00:00
Vinay Sajip
9cdfd18fc6
Closes #25685 : Made SocketHandler emission more efficient.
2015-12-26 12:48:44 +00:00
Vinay Sajip
03de71d136
Closes #25411 : Merged fix from 3.5.
2015-10-17 16:24:23 +01:00
Vinay Sajip
3f445f799a
Closes #25411 : Merged fix from 3.4.
2015-10-17 16:17:52 +01:00
Vinay Sajip
277640af0f
Closes #25411 : Improved Unicode support in SMTPHandler.
2015-10-17 16:13:10 +01:00
Vinay Sajip
29a1445136
Closes #24884 : refactored WatchedFileHandler file reopening into a separate method, based on a suggestion and patch by Marian Horban.
2015-10-01 20:54:41 +01:00
Serhiy Storchaka
7e7a3dba5f
Issue #23865 : close() methods in multiple modules now are idempotent and more
...
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
2015-04-10 13:24:41 +03:00
Serhiy Storchaka
2116b12da5
Issue #23865 : close() methods in multiple modules now are idempotent and more
...
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
2015-04-10 13:29:28 +03:00
Vinay Sajip
365701add9
Added respect_handler_level to QueueListener.
2015-02-09 19:49:00 +00:00
Benjamin Peterson
43052a14c1
add context parameter to HTTPHandler ( closes #22788 )
2014-11-23 20:36:44 -06:00
Vinay Sajip
c33a0cc61e
Brought excluded code into the scope of a try block in SysLogHandler.emit().
2014-11-01 19:58:47 +00:00
Vinay Sajip
16c41ab460
Issue #22646 : Accept list as well as tuple to support initialisation via dictConfig().
2014-10-17 08:49:38 +01:00
Vinay Sajip
0220048083
Issue #21742 : Set stream to None after closing.
2014-06-14 10:22:05 +01:00
Victor Stinner
7fa767e517
Issue #20976 : pyflakes: Remove unused imports
2014-03-20 09:16:38 +01:00
Vinay Sajip
38c741c1fc
Issue #19182 : Fixed socket leak on exception when connecting.
2013-10-06 18:36:00 +01:00
Vinay Sajip
5421f35d5e
logging: added support for Unix domain sockets to SocketHandler and DatagramHandler.
2013-09-27 18:18:28 +01:00
Vinay Sajip
f7b436ce8d
Closes #18941 : Merged fix from 3.3.
2013-09-06 10:26:48 +01:00
Vinay Sajip
43c6ef1899
Issue #18941 : Respected delay when doing rollover.
2013-09-06 10:25:31 +01:00
Vinay Sajip
a92a3564a9
Closes #18940 : Merged fix from 3.3.
2013-09-06 10:11:37 +01:00
Vinay Sajip
d859926b29
Issue #18940 : Handled low-volume logging when delay is True.
2013-09-06 10:10:22 +01:00
Brett Cannon
cd171c8e92
Issue #18200 : Back out usage of ModuleNotFoundError (8d28d44f3a9a)
2013-07-04 17:43:24 -04:00
Brett Cannon
0a140668fa
Issue #18200 : Update the stdlib (except tests) to use
...
ModuleNotFoundError.
2013-06-13 20:57:26 -04:00
Vinay Sajip
862b15e7d0
Issue #17981 : Closed socket on error in SysLogHandler.
2013-05-16 22:57:02 +01:00
Vinay Sajip
3a8f510b52
Closes #17981 : Merged fix from 3.3.
2013-05-16 23:02:54 +01:00
Vinay Sajip
40589f4b63
Closes #17795 : Reverted backwards-incompatible change in SysLogHandler with Unix domain sockets.
2013-04-22 10:14:12 +01:00
Vinay Sajip
e917052e1a
Issue #17795 : Reverted backwards-incompatible change in SysLogHandler with Unix domain sockets.
2013-04-22 10:07:40 +01:00
Vinay Sajip
a713079ed8
Closed #9556 : Allowed specifying a time-of-day for a TimedRotatingFileHandler to rotate.
2013-04-12 17:04:23 +01:00
Victor Stinner
765531d2d0
Issue #17516 : use comment syntax for comments, instead of multiline string
2013-03-26 01:11:54 +01:00