https://github.com/python/cpython/commit/80f7d493bfd52a2d81ce01456857868ccea96f72 commit: 80f7d493bfd52a2d81ce01456857868ccea96f72 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vsajip <[email protected]> date: 2025-12-25T12:41:24Z summary:
[3.13] gh-140717: Add `exc_text` to LogRecord attributes table (GH-140718) (GH-143151) Co-authored-by: Tom Kuson <[email protected]> files: M Doc/library/logging.rst diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index c8552befbbfe96..6b7d858c182cee 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -1011,6 +1011,11 @@ the options available to you. | exc_info | You shouldn't need to | Exception tuple (à la ``sys.exc_info``) or, | | | format this yourself. | if no exception has occurred, ``None``. | +----------------+-------------------------+-----------------------------------------------+ +| exc_text | You shouldn't need to | Exception information formatted as a string. | +| | format this yourself. | This is set when :meth:`Formatter.format` is | +| | | invoked, or ``None`` if no exception has | +| | | occurred. | ++----------------+-------------------------+-----------------------------------------------+ | filename | ``%(filename)s`` | Filename portion of ``pathname``. | +----------------+-------------------------+-----------------------------------------------+ | funcName | ``%(funcName)s`` | Name of function containing the logging call. | _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
