summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>2022-10-12 04:42:57 (GMT)
committerGitHub <noreply@github.com>2022-10-12 04:42:57 (GMT)
commitc39a0c335486fa8eac0f3030930f9e8769118a4f (patch)
tree2625c28c71654f790a40c0383a92077fba7f6e9a /Doc
parent3b33c2010aa00ef5877bc35b02ae658e3c9f27af (diff)
downloadcpython-c39a0c335486fa8eac0f3030930f9e8769118a4f.zip
cpython-c39a0c335486fa8eac0f3030930f9e8769118a4f.tar.gz
cpython-c39a0c335486fa8eac0f3030930f9e8769118a4f.tar.bz2
gh-65046: Link to logging cookbook from asyncio docs (#98207)
Diffstat (limited to 'Doc')
-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 913502e..99e886c 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 14f2c35..921a394 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: