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 nikicat
Recipients lyapun, nikicat, vinay.sajip
Date 2012-11-12.13:50:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352728246.64.0.325255756724.issue16391@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, I'm using dictConfig to load config from json file. And yes, ext:// provides a way to load custom handler, but, as far as I see (https://github.com/jonashaag/cpython/blob/master/Lib/logging/config.py#L379-404), there is no possibility to specify custom parameters - terminator, for example. My proposal is to add this existing documented configurable parameter of standard logging handlers to constructors to make it configurable.

Also, there is a demand for configurable errors handler for encoding/decoding strings, but I think it should be another issue.

For now I'm just using derived classes in my project to achieve this functionality, is it really the right way (instead of patching stdlib)?
History
Date User Action Args
2012-11-12 13:50:46nikicatsetrecipients: + nikicat, vinay.sajip, lyapun
2012-11-12 13:50:46nikicatsetmessageid: <1352728246.64.0.325255756724.issue16391@psf.upfronthosting.co.za>
2012-11-12 13:50:46nikicatlinkissue16391 messages
2012-11-12 13:50:46nikicatcreate