diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-11-17 18:59:36 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-11-17 18:59:36 +0200 |
commit | dd6a174190c43b3da6fc2d542f63289b75088e39 (patch) | |
tree | bb694d83aa986369bc8a49181133d667a7dfa4d3 | |
parent | ffa4b0b02ce16c948a015e280da54f6ec6d6d46b (diff) | |
download | muck-poc-dd6a174190c43b3da6fc2d542f63289b75088e39.tar.gz |
Add: timestamp to log messages
-rwxr-xr-x | muck_poc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -224,7 +224,7 @@ with open(sys.argv[1]) as f: logging.basicConfig( filename=config['log'], level=logging.DEBUG, - format='%(levelname)s %(message)s') + format='%(asctime)s %(levelname)s %(message)s') logging.info('Muck starts') |