Some minor fixes for logformat.

This commit is contained in:
Patrick Jentsch 2020-05-27 11:35:49 +02:00
parent ecac2c481c
commit 01bc246035

View File

@ -27,7 +27,7 @@ class Config:
os.makedirs('logs', exist_ok=True)
logging.basicConfig(filename='logs/nopaque.log',
format='[%(asctime)s] %(levelname)s in '
'%(name)s/%(filename)s, line %(lineno)d:'
'%(name)s/%(filename)s:%(lineno)d - '
'%(message)s',
datefmt='%Y-%m-%d %H:%M:%S', filemode='w')