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 felixxm
Recipients felixxm
Date 2020-04-16.10:09:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587031786.91.0.398301028125.issue40300@roundup.psfhosted.org>
In-reply-to
Content
We would like to subclass logging.Formatter with a custom "default_time_format" and an empty "default_msec_format". Unfortunately logging.Formatter crashes when default_msec_format is None, see [1].

I'm happy to provide a patch.

[1] https://github.com/python/cpython/blob/5907e61a8d4da6d0f11bf1062d6d17484560a15e/Lib/logging/__init__.py#L607
History
Date User Action Args
2020-04-16 10:09:46felixxmsetrecipients: + felixxm
2020-04-16 10:09:46felixxmsetmessageid: <1587031786.91.0.398301028125.issue40300@roundup.psfhosted.org>
2020-04-16 10:09:46felixxmlinkissue40300 messages
2020-04-16 10:09:46felixxmcreate