remove duplicate logging context

old-commit-hash: 1206409b2e
commatwo_master
Greg Hogan 5 years ago
parent f74865bedf
commit 7ed2fb158c
  1. 3
      common/logging_extra.py

@ -115,9 +115,6 @@ class SwagLogger(logging.Logger):
if args: if args:
evt['args'] = args evt['args'] = args
evt.update(kwargs) evt.update(kwargs)
ctx = self.get_ctx()
if ctx:
evt['ctx'] = self.get_ctx()
if 'error' in kwargs: if 'error' in kwargs:
self.error(evt) self.error(evt)
else: else:

Loading…
Cancel
Save