diff --git a/gajim/common/logging_helpers.py b/gajim/common/logging_helpers.py index 1adb9d14319bccee2d3d0d8f21731a7488c04b80..53f9856c2bb81d172f9421e97b72f3dd04f39ef8 100644 --- a/gajim/common/logging_helpers.py +++ b/gajim/common/logging_helpers.py @@ -125,9 +125,9 @@ class FancyFormatter(logging.Formatter): if self.use_color: c = FancyFormatter.colors_mapping.get(level, '') record.levelname = colorize(record.levelname, c) - record.name = colorize(record.name, colors.CYAN) + record.name = '%-25s' % colorize(record.name, colors.CYAN) else: - record.name += ':' + record.name = '%-25s|' % record.name return logging.Formatter.format(self, record) diff --git a/gajim/common/modules/util.py b/gajim/common/modules/util.py index 7da2e8684ec86a5115780a517e7c6b0ef50b2923..0cf08f803e30f71f879c2d5123d768a43517a6bf 100644 --- a/gajim/common/modules/util.py +++ b/gajim/common/modules/util.py @@ -86,4 +86,4 @@ def get_eme_message(eme_data): class LogAdapter(LoggerAdapter): def process(self, msg, kwargs): - return '[%s] %s' % (self.extra['account'], msg), kwargs + return '(%s) %s' % (self.extra['account'], msg), kwargs