mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 16:02:46 +08:00
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
Block a user