summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-11 21:50:15 -0700
committerGitHub <noreply@github.com>2022-10-11 21:50:15 -0700
commitbd7311095962a4dd91d4014d6c7601c663cb6415 (patch)
tree08cbeb00215a240313ee1374d181d45fbed0a104
parentf6abb332a2cc9bf1027bf90637b98c606dc63b4a (diff)
downloadcpython-git-bd7311095962a4dd91d4014d6c7601c663cb6415.tar.gz
gh-65046: Link to logging cookbook from asyncio docs (GH-98207)
(cherry picked from commit c39a0c335486fa8eac0f3030930f9e8769118a4f) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
-rw-r--r--Doc/howto/logging-cookbook.rst2
-rw-r--r--Doc/library/asyncio-dev.rst3
2 files changed, 4 insertions, 1 deletions
diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst
index 5b079744df..43f967c773 100644
--- a/Doc/howto/logging-cookbook.rst
+++ b/Doc/howto/logging-cookbook.rst
@@ -332,6 +332,8 @@ configuration::
print('complete')
+.. _blocking-handlers:
+
Dealing with handlers that block
--------------------------------
diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst
index 7ed597a505..0816492a0a 100644
--- a/Doc/library/asyncio-dev.rst
+++ b/Doc/library/asyncio-dev.rst
@@ -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: