Add logging

This commit is contained in:
Jordan Sissel 2011-04-19 03:57:49 -07:00
parent 3f56b3d848
commit b04304d440

View file

@ -48,6 +48,8 @@ class LogStash::Outputs::Elasticsearch < LogStash::Outputs::Base
gem "jruby-elasticsearch", ">= 0.0.3"
require "jruby-elasticsearch"
@logger.info(:message => "New ElasticSearch output", :cluster => @cluster,
:host => @host, :port => @port)
@pending = []
@callback = self.method(:receive_native)
@client = ElasticSearch::Client.new(:cluster => @cluster,