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 vinay.sajip
Recipients janis.slapins, vinay.sajip
Date 2016-04-01.19:52:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459540350.46.0.600753971611.issue26606@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2016-04-01 19:52:30vinay.sajipsetrecipients: + vinay.sajip, janis.slapins
2016-04-01 19:52:30vinay.sajipsetmessageid: <1459540350.46.0.600753971611.issue26606@psf.upfronthosting.co.za>
2016-04-01 19:52:30vinay.sajiplinkissue26606 messages
2016-04-01 19:52:30vinay.sajipcreate