From ad021e0765d8591ea09f037fc0486ad87523f2c7 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Thu, 30 Jul 2020 17:39:16 +0100 Subject: [PATCH] Remove %(class)s from logging format as un-necessary. It was only there to test the code populating it. --- EDMCLogging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EDMCLogging.py b/EDMCLogging.py index 4143edff..8bba3f13 100644 --- a/EDMCLogging.py +++ b/EDMCLogging.py @@ -68,7 +68,7 @@ class Logger: self.logger_channel = logging.StreamHandler() self.logger_channel.setLevel(loglevel) - self.logger_formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(module)s.%(qualname)s:%(lineno)d: %(class)s: %(message)s') # noqa: E501 + self.logger_formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(module)s.%(qualname)s:%(lineno)d: %(message)s') # noqa: E501 self.logger_formatter.default_time_format = '%Y-%m-%d %H:%M:%S' self.logger_formatter.default_msec_format = '%s.%03d'