Commit 6bac01a2 authored by Guido van Rossum's avatar Guido van Rossum

Issue #21443: Show how to change log level for asyncio.

parent eb11b72e
......@@ -161,6 +161,14 @@ Logging
The :mod:`asyncio` module logs information with the :mod:`logging` module in
the logger ``'asyncio'``.
The default log level for the :mod:`asyncio` module is :py:data:`logging.INFO`.
For those not wanting such verbosity from :mod:`asyncio` the log level can
be changed. For example, to change the level to :py:data:`logging.WARNING`:
.. code-block:: none
logging.getLogger('asyncio').setLevel(logging.WARNING)
.. _asyncio-coroutine-not-scheduled:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment