Skip to content

Commit

Permalink
gh-65046: Link to logging cookbook from asyncio docs (GH-98207)
Browse files Browse the repository at this point in the history
(cherry picked from commit c39a0c3)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
  • Loading branch information
miss-islington and hauntsaninja committed Oct 12, 2022
1 parent f6abb33 commit bd73110
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 bd73110

Please sign in to comment.