[issue20847] asyncio docs should call out that network logging is a no-no

Yury Selivanov report at bugs.python.org
Tue Mar 4 00:44:58 CET 2014


Yury Selivanov added the comment:

> If you really need network logging you should be able to configure a handler that puts things in a queue whose other end is serviced by an asyncio task. There should be no need to mess with the type of the logger object.

It's something that is easy to misconfigure. Having [logger+queue+logging thread] combination mitigates the risk a bit, but yeah, at the cost of increased complexity...

> Anyway, in 3.4 it is what it is. :-)

Right.

----------

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


More information about the Python-bugs-list mailing list