]> 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:51:13 +0000 (21:51 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Oct 2022 04:51:13 +0000 (21:51 -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 ff7ba0789608ff7c01385b9c518e1e20a25c3d48..d43ffb24085d64310c4b34876e324cbc22c23bc4 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: