Skip to content

Commit

Permalink
50: add 'user' back into log message
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Sharples committed Sep 16, 2024
1 parent 9a6a077 commit c4293c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion METreformat/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_common_logger(log_level, log_filename):
'WARNING': logging.WARNING, 'ERROR': logging.ERROR,
'CRITICAL': logging.CRITICAL}

msg_fmt = '%(asctime)s||%(filename)s: %(funcName)s|| [%(levelname)s]: %(message)s'
msg_fmt = '%(asctime)s||%(user)s||%(filename)s: %(funcName)s|| [%(levelname)s]: %(message)s'
date_fmt = '%Y%m%d %H:%M:%S'

if log_filename.lower() == 'stdout':
Expand Down

0 comments on commit c4293c7

Please sign in to comment.