SyntaxFix
Write A Post
Hire A Developer
Questions
The simplest way I found was to override default_msec_format:
formatter = logging.Formatter('%(asctime)s') formatter.default_msec_format = '%s.%03d'