diff options
author | jackh-ncl <1750152+jackh-ncl@users.noreply.github.com> | 2022-05-26 08:30:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 08:30:51 (GMT) |
commit | cc377063ef3ef99edce00e0c706809d9510e2bed (patch) | |
tree | 79b7df791bf0f18724d2f2fd078f4ca7ca426250 /Doc/howto | |
parent | 518595652759462b13904df767f69b8cc2c61143 (diff) | |
download | cpython-cc377063ef3ef99edce00e0c706809d9510e2bed.zip cpython-cc377063ef3ef99edce00e0c706809d9510e2bed.tar.gz cpython-cc377063ef3ef99edce00e0c706809d9510e2bed.tar.bz2 |
gh-91513: Add 'asyncio' taskName to logging LogRecord attributes. (GH-93193)
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/logging.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst index 9340062..125bde2 100644 --- a/Doc/howto/logging.rst +++ b/Doc/howto/logging.rst @@ -1101,6 +1101,9 @@ need: | Current process name when using ``multiprocessing`` | Set ``logging.logMultiprocessing`` to ``False``. | | to manage multiple processes. | | +-----------------------------------------------------+---------------------------------------------------+ +| Current :class:`asyncio.Task` name when using | Set ``logging.logAsyncioTasks`` to ``False``. | +| ``asyncio``. | | ++-----------------------------------------------------+---------------------------------------------------+ Also note that the core logging module only includes the basic handlers. If you don't import :mod:`logging.handlers` and :mod:`logging.config`, they won't |