From b7f819cdda26b55c4fadb5750f8572512aeec43c Mon Sep 17 00:00:00 2001 From: DevilXD Date: Tue, 11 Jan 2022 11:27:35 +0100 Subject: [PATCH] Fix time formatting in log messages --- constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants.py b/constants.py index 95170a9..a95d520 100644 --- a/constants.py +++ b/constants.py @@ -35,7 +35,7 @@ WATCH_INTERVAL = timedelta(seconds=58.8) # Tags DROPS_ENABLED_TAG = "c2542d6d-cd10-4532-919b-3d19f30a768b" FORMATTER = logging.Formatter( - "{asctime}.{msecs:<03}:\t{levelname:>7}:\t{message}", + "{asctime}.{msecs:03.0f}:\t{levelname:>7}:\t{message}", style='{', datefmt="%Y-%m-%d %H:%M:%S", )