]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-65046: Link to logging cookbook from asyncio docs (#98207)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Wed, 12 Oct 2022 04:42:57 +0000 (21:42 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Oct 2022 04:42:57 +0000 (21:42 -0700)
Doc/howto/logging-cookbook.rst
Doc/library/asyncio-dev.rst

index 913502eba764348c08d18dedbc6e7ab875ff8798..99e886c61b4c5fd8056c3b32d3f5868002acb86c 100644 (file)
@@ -332,6 +332,8 @@ configuration::
     print('complete')
 
 
+.. _blocking-handlers:
+
 Dealing with handlers that block
 --------------------------------
 
index 14f2c3533c97129ea8df5671057dddc4930f794c..921a394a59fec7ccd0af5cf94be41f60f1591106 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: