mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Do not include timestamp in threaded logger
This commit is contained in:
parent
6b88d93576
commit
de0b53710a
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue