[issue26606] logging.baseConfig is missing the encoding parameter

Vinay Sajip report at bugs.python.org
Fri Apr 1 15:52:30 EDT 2016


Vinay Sajip added the comment:

> and almost no one shows how to use the stream.

Because most examples out there don't care about Unicode, etc.

> I understand the redirection in the following way (also shown in the Dive Into Python book)

There's certainly no need to do that, and that would not be a normal way of using logging. The use of stream= should be clear from the documentation for basicConfig() parameters.

----------

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


More information about the Python-bugs-list mailing list