Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1a751b commit ba29a4fCopy full SHA for ba29a4f
1 file changed
Doc/library/asyncio-dev.rst
@@ -161,6 +161,14 @@ Logging
161
The :mod:`asyncio` module logs information with the :mod:`logging` module in
162
the logger ``'asyncio'``.
163
164
+The default log level for the :mod:`asyncio` module is :py:data:`logging.INFO`.
165
+For those not wanting such verbosity from :mod:`asyncio` the log level can
166
+be changed. For example, to change the level to :py:data:`logging.WARNING`:
167
+
168
+.. code-block:: none
169
170
+ logging.getLogger('asyncio').setLevel(logging.WARNING)
171
172
173
.. _asyncio-coroutine-not-scheduled:
174
0 commit comments