]> kaliko git repositories - mpd-sima.git/commitdiff
Add some space padding in log format
authorkaliko <kaliko@azylum.org>
Tue, 16 Nov 2021 14:39:42 +0000 (15:39 +0100)
committerkaliko <kaliko@azylum.org>
Tue, 16 Nov 2021 14:39:42 +0000 (15:39 +0100)
Allows to align debug log message with mpdclient.py file

sima/lib/logger.py

index c2579260801a5b2fdf6ace16223b3f62498a4ee4..fae726dfd2253190bcbca52d3c8aaa5174cfda7c 100644 (file)
@@ -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"