Skip to content

Commit 99ba3b9

Browse files
typo fix
1 parent 2763a35 commit 99ba3b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis_json_logger/formatter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def convert_to_json_string(self, log_dict):
100100

101101

102102
class LogStashJSONFormatter(JSONFormatter):
103-
default_time_format = '%Y-%m-%d %H:%M:%SZ'
103+
default_time_format = '%Y-%m-%dT%H:%M:%SZ' # ISO format with UTC notation
104104

105105
def usesTime(self):
106106
return True

0 commit comments

Comments
 (0)