mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
GH-65046: Fix docs about logging in asyncio
(GH-97559)
Explain that logging should not use network I/O.
(cherry picked from commit d68c37c0d0
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
This commit is contained in:
parent
50da78af68
commit
e65e6de0fb
1 changed files with 1 additions and 2 deletions
|
@ -149,8 +149,7 @@ adjusted::
|
||||||
|
|
||||||
|
|
||||||
Network logging can block the event loop. It is recommended to use
|
Network logging can block the event loop. It is recommended to use
|
||||||
a separate thread for handling logs or use non-blocking IO. For example,
|
a separate thread for handling logs or use non-blocking IO.
|
||||||
see :ref:`blocking-handlers`.
|
|
||||||
|
|
||||||
|
|
||||||
.. _asyncio-coroutine-not-scheduled:
|
.. _asyncio-coroutine-not-scheduled:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue