Only 1 colon : when logging

This commit is contained in:
tomkat83 2017-02-19 16:20:00 +01:00
parent 2079b3c554
commit b4a44c9d7d

View file

@ -63,7 +63,7 @@ class MyFormatter(logging.Formatter):
# Replace the original format with one customized by logging level
if record.levelno in (logging.DEBUG, logging.ERROR):
self._fmt = '%(name)s -> %(levelname)s:: %(message)s'
self._fmt = '%(name)s -> %(levelname)s: %(message)s'
# Call the original formatter class to do the grunt work
result = logging.Formatter.format(self, record)