mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-26 03:14:19 +00:00
Some minor fixes for logformat.
This commit is contained in:
parent
ecac2c481c
commit
01bc246035
@ -27,7 +27,7 @@ class Config:
|
|||||||
os.makedirs('logs', exist_ok=True)
|
os.makedirs('logs', exist_ok=True)
|
||||||
logging.basicConfig(filename='logs/nopaque.log',
|
logging.basicConfig(filename='logs/nopaque.log',
|
||||||
format='[%(asctime)s] %(levelname)s in '
|
format='[%(asctime)s] %(levelname)s in '
|
||||||
'%(name)s/%(filename)s, line %(lineno)d:'
|
'%(name)s/%(filename)s:%(lineno)d - '
|
||||||
'%(message)s',
|
'%(message)s',
|
||||||
datefmt='%Y-%m-%d %H:%M:%S', filemode='w')
|
datefmt='%Y-%m-%d %H:%M:%S', filemode='w')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user