This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hardkrash
Recipients docs@python, hardkrash
Date 2014-05-05.20:19:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399321197.68.0.955361534546.issue21443@psf.upfronthosting.co.za>
In-reply-to
Content
The asyncio documentation should comment on how to mute and increase some of it's logging.

18.5.7.3. Logging
The asyncio module logs information with the logging module in the logger 'asyncio'.


Adding a bit of text that mentions the following line would be great.
"""
The default verbosity will include messages at logging.INFO level.
To modify the verbosity of asyncio logging add a similar line to your application.
`logging.getLogger('asyncio').setLevel(logging.WARNING)`
"""


Note:
While this is clear to active users of the logging module, it is not clear to novices, who want INFO in their applications but not from asyncio.
History
Date User Action Args
2014-05-05 20:19:57hardkrashsetrecipients: + hardkrash, docs@python
2014-05-05 20:19:57hardkrashsetmessageid: <1399321197.68.0.955361534546.issue21443@psf.upfronthosting.co.za>
2014-05-05 20:19:57hardkrashlinkissue21443 messages
2014-05-05 20:19:57hardkrashcreate