Message262766
> 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. |
|
Date |
User |
Action |
Args |
2016-04-01 19:52:30 | vinay.sajip | set | recipients:
+ vinay.sajip, janis.slapins |
2016-04-01 19:52:30 | vinay.sajip | set | messageid: <1459540350.46.0.600753971611.issue26606@psf.upfronthosting.co.za> |
2016-04-01 19:52:30 | vinay.sajip | link | issue26606 messages |
2016-04-01 19:52:30 | vinay.sajip | create | |
|