Commit a41d69fc authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed keyerror on missing digest in log entries.

parent ab25dc2a
......@@ -190,7 +190,7 @@ class ConsoleFormatter(LogstashFormatter):
exception = message_dict.pop('exception', None)
time = message_dict.pop('@timestamp', None)
for key in ['type', 'tags', 'stack_info', 'path', 'message', 'host', '@version', 'digest']:
message_dict.pop(key)
message_dict.pop(key, None)
keys = list(message_dict.keys())
keys.sort()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment