reverted the initializer back to what is in logstash mainline

This commit is contained in:
Victor Ng 2011-10-27 20:45:35 -04:00
parent 3044decbb3
commit cdda171138

View file

@ -103,8 +103,7 @@ class LogStash::Filters::Grok < LogStash::Filters::Base
public
def initialize(params)
super
super(params)
@match["@message"] ||= []
@match["@message"] += @pattern if @pattern # the config 'pattern' value (array)
end