diff options
author | Cheryl Sabella <cheryl.sabella@gmail.com> | 2018-09-25 23:00:08 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2018-09-25 23:00:08 (GMT) |
commit | d345bb4d9b6e16c681cd8a4e1fff94ecd6b0bb09 (patch) | |
tree | 270c58e201787cd118f29c2650cd6dfa605f27e3 /Doc | |
parent | fad6af2744c0b022568f7f4a8afc93fed056d4db (diff) | |
download | cpython-d345bb4d9b6e16c681cd8a4e1fff94ecd6b0bb09.zip cpython-d345bb4d9b6e16c681cd8a4e1fff94ecd6b0bb09.tar.gz cpython-d345bb4d9b6e16c681cd8a4e1fff94ecd6b0bb09.tar.bz2 |
bpo-34334: Don't log traceback twice in QueueHandler (GH-9537)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/logging.handlers.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst index bdf16a8..dee9a84 100644 --- a/Doc/library/logging.handlers.rst +++ b/Doc/library/logging.handlers.rst @@ -973,9 +973,9 @@ possible, while any potentially slow operations (such as sending an email via Prepares a record for queuing. The object returned by this method is enqueued. - The base implementation formats the record to merge the message - and arguments, and removes unpickleable items from the record - in-place. + The base implementation formats the record to merge the message, + arguments, and exception information, if present. It also + removes unpickleable items from the record in-place. You might want to override this method if you want to convert the record to a dict or JSON string, or send a modified copy |