Skip to content

Commit bd73110

Browse files
gh-65046: Link to logging cookbook from asyncio docs (GH-98207)
(cherry picked from commit c39a0c3) Co-authored-by: Shantanu <[email protected]>
1 parent f6abb33 commit bd73110

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Doc/howto/logging-cookbook.rst

+2
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ configuration::
332332
print('complete')
333333

334334

335+
.. _blocking-handlers:
336+
335337
Dealing with handlers that block
336338
--------------------------------
337339

Doc/library/asyncio-dev.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ adjusted::
149149

150150

151151
Network logging can block the event loop. It is recommended to use
152-
a separate thread for handling logs or use non-blocking IO.
152+
a separate thread for handling logs or use non-blocking IO. For example,
153+
see :ref:`blocking-handlers`.
153154

154155

155156
.. _asyncio-coroutine-not-scheduled:

0 commit comments

Comments
 (0)