Skip to content

Commit

Permalink
Merge pull request #24 from hoangvx/master
Browse files Browse the repository at this point in the history
add japanese character encoding for json logger
  • Loading branch information
bobbui authored Jun 26, 2019
2 parents f3e6712 + 6c43871 commit d3fb344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json_logging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
ENABLE_JSON_LOGGING_DEBUG = False
EMPTY_VALUE = '-'
CREATE_CORRELATION_ID_IF_NOT_EXISTS = True
JSON_SERIALIZER = json.dumps
JSON_SERIALIZER = lambda log: json.dumps(log, ensure_ascii=False)
CORRELATION_ID_HEADERS = ['X-Correlation-ID', 'X-Request-ID']
COMPONENT_ID = EMPTY_VALUE
COMPONENT_NAME = EMPTY_VALUE
Expand Down

0 comments on commit d3fb344

Please sign in to comment.