Message175442
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)? |
|
Date |
User |
Action |
Args |
2012-11-12 13:50:46 | nikicat | set | recipients:
+ nikicat, vinay.sajip, lyapun |
2012-11-12 13:50:46 | nikicat | set | messageid: <1352728246.64.0.325255756724.issue16391@psf.upfronthosting.co.za> |
2012-11-12 13:50:46 | nikicat | link | issue16391 messages |
2012-11-12 13:50:46 | nikicat | create | |
|