Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a5f7f502
Commit
a5f7f502
authored
Dec 30, 2015
by
Syed Hasan raza
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11093 from edx/shr/bug/AN-4509-detail-logging
Detail logging for backend_logger
parents
bc61e72c
a16791ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
common/djangoapps/track/backends/logger.py
+1
-2
No files found.
common/djangoapps/track/backends/logger.py
View file @
a5f7f502
...
@@ -38,8 +38,7 @@ class LoggerBackend(BaseBackend):
...
@@ -38,8 +38,7 @@ class LoggerBackend(BaseBackend):
event_str
=
json
.
dumps
(
event
,
cls
=
DateTimeJSONEncoder
)
event_str
=
json
.
dumps
(
event
,
cls
=
DateTimeJSONEncoder
)
except
UnicodeDecodeError
:
except
UnicodeDecodeError
:
application_log
.
exception
(
application_log
.
exception
(
"UnicodeDecodeError Event_type:
%
r, Event_source:
%
r, Page:
%
r, Referer:
%
r"
,
"UnicodeDecodeError Event_data:
%
r"
,
event
event
.
get
(
'event_type'
),
event
.
get
(
'event_source'
),
event
.
get
(
'page'
),
event
.
get
(
'referer'
)
)
)
raise
raise
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment