Skip to content

Commit

Permalink
pythongh-65046: Link to logging cookbook from asyncio docs (python#98207
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hauntsaninja committed Oct 12, 2022
1 parent 3b33c20 commit c39a0c3
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 c39a0c3

Please sign in to comment.