gh-65046: Link to logging cookbook from asyncio docs (GH-98207)

(cherry picked from commit c39a0c3354)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-10-11 21:51:13 -07:00 committed by Pablo Galindo
parent b63602303e
commit 168ec080e8
No known key found for this signature in database
GPG key ID: FFE87404168BD847
2 changed files with 7 additions and 0 deletions

View file

@ -537,6 +537,8 @@ configuration::
print('complete')
.. _blocking-handlers:
Dealing with handlers that block
--------------------------------

View file

@ -148,6 +148,11 @@ adjusted::
logging.getLogger("asyncio").setLevel(logging.WARNING)
Network logging can block the event loop. It is recommended to use
a separate thread for handling logs or use non-blocking IO. For example,
see :ref:`blocking-handlers`.
.. _asyncio-coroutine-not-scheduled:
Detect never-awaited coroutines