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 5b11195 + 2d43e96 commit fa6e372Copy full SHA for fa6e372
kafka_logger/handlers.py
@@ -160,7 +160,7 @@ def prepare_record_dict(self, record):
160
# Elasticsearch supports number datatypes
161
# but it is not 1:1 - logging "inf" float
162
# causes _jsonparsefailure error in ELK
163
- value = tuple(arg.__repr__() for arg in value)
+ value = tuple(repr(arg) for arg in value)
164
rec[key] = "" if value is None else value
165
166
return rec
0 commit comments