We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b636023 commit 168ec08Copy full SHA for 168ec08
Doc/howto/logging-cookbook.rst
@@ -537,6 +537,8 @@ configuration::
537
print('complete')
538
539
540
+.. _blocking-handlers:
541
+
542
Dealing with handlers that block
543
--------------------------------
544
Doc/library/asyncio-dev.rst
@@ -148,6 +148,11 @@ adjusted::
148
logging.getLogger("asyncio").setLevel(logging.WARNING)
149
150
151
+Network logging can block the event loop. It is recommended to use
152
+a separate thread for handling logs or use non-blocking IO. For example,
153
+see :ref:`blocking-handlers`.
154
155
156
.. _asyncio-coroutine-not-scheduled:
157
158
Detect never-awaited coroutines
0 commit comments