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 xavier.hardy
Recipients xavier.hardy
Date 2018-08-08.08:02:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533715378.01.0.56676864532.issue34356@psf.upfronthosting.co.za>
In-reply-to
Content
The behavior of formatters and handlers in logging.conf files is inconsistent.

With handlers, it is possible to add custom (keyword and non-keyword) arguments, but it is not possible for formatters (only class, format, datefmt, style).

https://github.com/python/cpython/blob/master/Lib/logging/config.py#L112
https://github.com/python/cpython/blob/master/Lib/logging/config.py#L141

I'll try to submit a pull request as soon as possible.
History
Date User Action Args
2018-08-08 08:02:58xavier.hardysetrecipients: + xavier.hardy
2018-08-08 08:02:58xavier.hardysetmessageid: <1533715378.01.0.56676864532.issue34356@psf.upfronthosting.co.za>
2018-08-08 08:02:57xavier.hardylinkissue34356 messages
2018-08-08 08:02:57xavier.hardycreate