Skip to content
Snippets Groups Projects
Commit 01bc2460 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Some minor fixes for logformat.

parent ecac2c48
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ class Config: ...@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment