]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-65046: Link to logging cookbook from asyncio docs (GH-98207)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 12 Oct 2022 04:50:15 +0000 (21:50 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Oct 2022 04:50:15 +0000 (21:50 -0700)
(cherry picked from commit c39a0c335486fa8eac0f3030930f9e8769118a4f)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Doc/howto/logging-cookbook.rst
Doc/library/asyncio-dev.rst

index 5b079744df12ed4c448be62a3cb73f46a2d121ef..43f967c77351f213f9b23963c4be55afa4bcfa4b 100644 (file)
@@ -332,6 +332,8 @@ configuration::
     print('complete')
 
 
+.. _blocking-handlers:
+
 Dealing with handlers that block
 --------------------------------
 
index 7ed597a5057057a67f939a644016286755403c65..0816492a0a4ab253c9f0556ee30224fcc5a91a32 100644 (file)
@@ -149,7 +149,8 @@ adjusted::
 
 
 Network logging can block the event loop. It is recommended to use
-a separate thread for handling logs or use non-blocking IO.
+a separate thread for handling logs or use non-blocking IO. For example,
+see :ref:`blocking-handlers`.
 
 
 .. _asyncio-coroutine-not-scheduled: