FIX: `severity_name` was being logged incorrectly.
This commit is contained in:
parent
c7d024446e
commit
3a472b507e
|
@ -7,8 +7,8 @@ class DiscourseLogstashLogger
|
|||
sync: true,
|
||||
customize_event: ->(event) {
|
||||
event['hostname'] = `hostname`.chomp
|
||||
event['severity'] = Object.const_get("Logger::Severity::#{event['severity']}")
|
||||
event['severity_name'] = event['severity']
|
||||
event['severity'] = Object.const_get("Logger::Severity::#{event['severity']}")
|
||||
event['type'] = type
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue