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.
1 parent f3e6712 commit 6c43871Copy full SHA for 6c43871
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