remove logid from Account creation, one can now just use the "displayname" for log purposes

This commit is contained in:
holger krekel
2020-06-08 20:07:40 +02:00
parent ca70c6a205
commit 503202376a
6 changed files with 24 additions and 23 deletions

View File

@@ -28,13 +28,9 @@ class FFIEventLogger:
# to prevent garbled logging
_loglock = threading.RLock()
def __init__(self, account, logid):
"""
:param logid: an optional logging prefix that should be used with
the default internal logging.
"""
def __init__(self, account):
self.account = account
self.logid = logid
self.logid = self.account.get_config("displayname")
self.init_time = time.time()
@account_hookimpl