We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3e6712 + 6c43871 commit d3fb344Copy full SHA for d3fb344
json_logging/__init__.py
@@ -18,7 +18,7 @@
18
ENABLE_JSON_LOGGING_DEBUG = False
19
EMPTY_VALUE = '-'
20
CREATE_CORRELATION_ID_IF_NOT_EXISTS = True
21
-JSON_SERIALIZER = json.dumps
+JSON_SERIALIZER = lambda log: json.dumps(log, ensure_ascii=False)
22
CORRELATION_ID_HEADERS = ['X-Correlation-ID', 'X-Request-ID']
23
COMPONENT_ID = EMPTY_VALUE
24
COMPONENT_NAME = EMPTY_VALUE
0 commit comments