[cli] Do not include timestamp in threaded logger

This commit is contained in:
derrod 2020-05-22 14:31:59 +02:00
parent 6b88d93576
commit de0b53710a

View file

@ -38,7 +38,7 @@ class LegendaryCLI:
def setup_threaded_logging(self):
self.logging_queue = MPQueue(-1)
shandler = logging.StreamHandler()
sformatter = logging.Formatter('[%(asctime)s] [%(name)s] %(levelname)s: %(message)s')
sformatter = logging.Formatter('[%(name)s] %(levelname)s: %(message)s')
shandler.setFormatter(sformatter)
ql = QueueListener(self.logging_queue, shandler)
ql.start()