From 5a3e521e9ac15c5b2a987808ee8ed821c5310a54 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 21 Jan 2024 09:35:16 -0800 Subject: [PATCH] Remove default_msec_format which wasn't doing anything. --- voussoirkit/vlogging.py | 1 - 1 file changed, 1 deletion(-) diff --git a/voussoirkit/vlogging.py b/voussoirkit/vlogging.py index 26cf1ed..36bd699 100644 --- a/voussoirkit/vlogging.py +++ b/voussoirkit/vlogging.py @@ -61,7 +61,6 @@ def add_root_handler(level): formatter = Formatter('[{asctime}.{msecs:03.0f}] {levelname}:{name}.{funcName}:{message}', style='{', datefmt=datefmt) else: formatter = Formatter('[{asctime}.{msecs:03.0f}] {levelname}:{name}:{message}', style='{', datefmt=datefmt) - formatter.default_msec_format = '%s.%03d' handler.setFormatter(formatter) handler.setLevel(level) root.addHandler(handler)