We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a0cf800 + 4b6184b commit 14bceccCopy full SHA for 14bcecc
1 file changed
logstash/formatter.py
@@ -47,10 +47,10 @@ def get_extra_fields(self, record):
47
48
def get_debug_fields(self, record):
49
fields = {
50
- 'exc_info': self.format_exception(record.exc_info),
+ 'stack_trace': self.format_exception(record.exc_info),
51
'lineno': record.lineno,
52
'process': record.process,
53
- 'threadName': record.threadName,
+ 'thread_name': record.threadName,
54
}
55
56
# funcName was added in 2.5
@@ -127,8 +127,8 @@ def format(self, record):
127
'type': self.message_type,
128
129
# Extra Fields
130
- 'levelname': record.levelname,
131
- 'logger': record.name,
+ 'level': record.levelname,
+ 'logger_name': record.name,
132
133
134
# Add extra fields
0 commit comments