[issue21443] asyncoio logging documentation clarifications.
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
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@python components: Documentation messages: 217952 nosy: docs@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@bugs.python.org> <http://bugs.python.org/issue21443> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Changes by Ned Deily <nad@acm.org>: ---------- stage: -> needs patch title: asyncoio logging documentation clarifications. -> asyncio logging documentation clarifications _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21443> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Changes by STINNER Victor <victor.stinner@gmail.com>: ---------- nosy: +giampaolo.rodola, gvanrossum, haypo, pitrou, yselivanov _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21443> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Guido van Rossum added the comment: Good idea. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21443> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Changes by STINNER Victor <victor.stinner@gmail.com>: ---------- components: +Asyncio _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21443> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Mariatta Wijaya added the comment: Hi, I added the paragraph explaining how to change the log level for asyncio. Please check it out. Thanks :) ---------- keywords: +patch nosy: +Mariatta Added file: http://bugs.python.org/file44992/issue21443.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21443> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Roundup Robot added the comment: New changeset e68b1b2515e9 by Guido van Rossum in branch '3.5': Issue #21443: Show how to change log level for asyncio. https://hg.python.org/cpython/rev/e68b1b2515e9 New changeset 660058d76788 by Guido van Rossum in branch '3.6': Issue #21443: Show how to change log level for asyncio. (Merge 3.5->3.6) https://hg.python.org/cpython/rev/660058d76788 New changeset 861d22bd852d by Guido van Rossum in branch 'default': Issue #21443: Show how to change log level for asyncio. (Merge 3.6->3.7) https://hg.python.org/cpython/rev/861d22bd852d ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21443> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Guido van Rossum added the comment: Thanks! Applied to 3.5, 3.6, 3.7. (We don't change 3.4 any more except for security fixes.) ---------- resolution: -> fixed stage: needs patch -> resolved status: open -> closed type: enhancement -> behavior _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21443> _______________________________________
participants (6)
-
Guido van Rossum
-
Mariatta Wijaya
-
Ned Deily
-
Roundup Robot
-
steven Michalske
-
STINNER Victor