Skip to content

Commit

Permalink
pythongh-65046: Link to logging cookbook from asyncio docs (pythonGH-…
Browse files Browse the repository at this point in the history
…98207)

(cherry picked from commit c39a0c3)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
  • Loading branch information
hauntsaninja authored and miss-islington committed Oct 12, 2022
1 parent f6abb33 commit 81c73c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Doc/howto/logging-cookbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ configuration::
print('complete')


.. _blocking-handlers:

Dealing with handlers that block
--------------------------------

Expand Down
3 changes: 2 additions & 1 deletion Doc/library/asyncio-dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 81c73c2

Please sign in to comment.