Skip to content

Commit

Permalink
Update reporter.py (#367)
Browse files Browse the repository at this point in the history
Added PID and TID
  • Loading branch information
daminichopra committed Sep 23, 2020
1 parent 23e4b85 commit 2968846
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/reporter/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def log():

logging.basicConfig(level=level,
format='%(asctime)s.%(msecs)03d '
'%(levelname)s:%(name)s:%(message)s',
'%(levelname)s:%(name)s:%(message)s '
'Thread ID: [%(thread)d] Process ID: [%(process)d]',
datefmt='%Y-%m-%d %I:%M:%S')
return logging.getLogger(__name__)

Expand Down

0 comments on commit 2968846

Please sign in to comment.