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 5769f51 commit 6945e1bCopy full SHA for 6945e1b
json_logging/__init__.py
@@ -20,7 +20,7 @@
20
ENABLE_JSON_LOGGING_DEBUG = False
21
EMPTY_VALUE = '-'
22
CREATE_CORRELATION_ID_IF_NOT_EXISTS = True
23
-JSON_SERIALIZER = lambda log: json.dumps(log, ensure_ascii=False)
+JSON_SERIALIZER = lambda log: json.dumps(log, ensure_ascii=False, default=str)
24
CORRELATION_ID_HEADERS = ['X-Correlation-ID', 'X-Request-ID']
25
COMPONENT_ID = EMPTY_VALUE
26
COMPONENT_NAME = EMPTY_VALUE
0 commit comments