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 janis.slapins
Recipients janis.slapins, vinay.sajip
Date 2016-03-31.18:46:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459449964.22.0.245714340784.issue26606@psf.upfronthosting.co.za>
In-reply-to
Content
Using the stream or other options requires much more coding (for example, an additional redirection of sys.stdout to a file) instead of just one line with the basicConfig.

In the meanwhile, I tried to use logging.FileHandler instead where I could specify the encoding in parameters and it works as I wanted when used the basicConfig method.

Anyway, it would be nice to have the encoding parameter among the basicConfig parameters when logging to files.
History
Date User Action Args
2016-03-31 18:46:04janis.slapinssetrecipients: + janis.slapins, vinay.sajip
2016-03-31 18:46:04janis.slapinssetmessageid: <1459449964.22.0.245714340784.issue26606@psf.upfronthosting.co.za>
2016-03-31 18:46:04janis.slapinslinkissue26606 messages
2016-03-31 18:46:03janis.slapinscreate