From 3de4f98cfe9253594d0a3b12d0fe6b0cfdfeb8c1 Mon Sep 17 00:00:00 2001 From: kaliko Date: Tue, 16 Nov 2021 15:39:42 +0100 Subject: [PATCH] Add some space padding in log format Allows to align debug log message with mpdclient.py file --- sima/lib/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sima/lib/logger.py b/sima/lib/logger.py index c257926..fae726d 100644 --- a/sima/lib/logger.py +++ b/sima/lib/logger.py @@ -32,7 +32,7 @@ DEBUG = logging.DEBUG INFO = logging.INFO ERROR = logging.ERROR LOG_FORMATS = { - DEBUG: '[{process}]{filename: >11}:{lineno: <3} {levelname: <7}: {message}', + DEBUG: '[{process}]{filename: >12}:{lineno: <3} {levelname: <7}: {message}', INFO: '{levelname: <7}: {message}', } DATE_FMT = "%Y-%m-%d %H:%M:%S" -- 2.39.5