From: kaliko Date: Tue, 16 Nov 2021 14:39:42 +0000 (+0100) Subject: Add some space padding in log format X-Git-Tag: 0.18.0~3 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=3de4f98cfe9253594d0a3b12d0fe6b0cfdfeb8c1;p=mpd-sima.git Add some space padding in log format Allows to align debug log message with mpdclient.py file --- 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"