[docs] [issue21443] asyncoio logging documentation clarifications.

steven Michalske report at bugs.python.org
Mon May 5 22:19:57 CEST 2014


New submission from steven Michalske:

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.

----------
assignee: docs at python
components: Documentation
messages: 217952
nosy: docs at python, hardkrash
priority: normal
severity: normal
status: open
title: asyncoio logging documentation clarifications.
type: enhancement
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21443>
_______________________________________


More information about the docs mailing list