diff --git a/lib/discourse_logstash_logger.rb b/lib/discourse_logstash_logger.rb index 6cf37f5616f..369e7e3c052 100644 --- a/lib/discourse_logstash_logger.rb +++ b/lib/discourse_logstash_logger.rb @@ -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 }, )