diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/howto/logging.rst | 3 | ||||
-rw-r--r-- | Doc/library/logging.rst | 4 |
2 files changed, 7 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 diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 3310c73..ac86bc8 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -872,10 +872,14 @@ the options available to you. +----------------+-------------------------+-----------------------------------------------+ | threadName | ``%(threadName)s`` | Thread name (if available). | +----------------+-------------------------+-----------------------------------------------+ +| taskName | ``%(taskName)s`` | :class:`asyncio.Task` name (if available). | ++----------------+-------------------------+-----------------------------------------------+ .. versionchanged:: 3.1 *processName* was added. +.. versionchanged:: 3.12 + *taskName* was added. .. _logger-adapter: |