Commit a5f7f502 by Syed Hasan raza

Merge pull request #11093 from edx/shr/bug/AN-4509-detail-logging

Detail logging for backend_logger
parents bc61e72c a16791ba
......@@ -38,8 +38,7 @@ class LoggerBackend(BaseBackend):
event_str = json.dumps(event, cls=DateTimeJSONEncoder)
except UnicodeDecodeError:
application_log.exception(
"UnicodeDecodeError Event_type: %r, Event_source: %r, Page: %r, Referer: %r",
event.get('event_type'), event.get('event_source'), event.get('page'), event.get('referer')
"UnicodeDecodeError Event_data: %r", event
)
raise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment