logging formatter

This commit is contained in:
Jack Robison 2020-09-17 11:25:28 -04:00
parent 20c7fe1e82
commit 30dff02674
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -85,7 +85,7 @@ class Basic(Console):
super().__init__(service)
self.service.sync.on_progress.listen(self.on_sync_progress)
self.tasks = {}
logging.basicConfig(level=logging.INFO)
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)-8s %(name)s:%(lineno)d: %(message)s")
def starting(self):
conf = self.service.conf