From 14a6178f98742c9d203b7934dd04551af2bb15ad Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Tue, 11 Oct 2022 21:26:54 -0700 Subject: [PATCH] gh-96848: Link to logging cookbook from asyncio docs --- Doc/howto/logging-cookbook.rst | 2 ++ Doc/library/asyncio-dev.rst | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst index 913502eba764348..99e886c61b4c5fd 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 14f2c3533c97129..921a394a59fec7c 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: