We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 404ada0 commit 5b665c2Copy full SHA for 5b665c2
logstash_formatter/__init__.py
@@ -142,7 +142,7 @@ def format(self, record):
142
if 'exc_text' in fields and not fields['exc_text']:
143
fields.pop('exc_text')
144
145
- now = datetime.datetime.utcnow()
+ now = datetime.datetime.utcnow()
146
base_log = {'@timestamp': now.strftime("%Y-%m-%dT%H:%M:%S") + ".%03d" % (now.microsecond / 1000) + "Z",
147
'@version': 1,
148
'source_host': self.source_host}
0 commit comments