fix isqueryclient function

This commit is contained in:
lm
2021-09-27 14:09:11 +02:00
parent ed9f9acb11
commit 71a6aa71ca
2 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ def setupLogger(logpath, lvl="DEBUG"):
if not os.path.exists(logpath):
os.makedirs(logpath)
handler = RotatingFileHandler(logpath + r"/myTS3.log", encoding='utf-8', maxBytes=5*1024*1024, backupCount=10)
logformat = logging.Formatter("%(asctime)s %(levelname)7s %(message)s", "%Y-%m-%d %H:%M:%S")
logformat = logging.Formatter("%(asctime)s %(levelname)8s %(message)s", "%Y-%m-%d %H:%M:%S")
handler.setFormatter(logformat)
log.addHandler(handler)
log.setLevel(lvl)