lib/logstash/outputs/statsd.rb in logstash-output-statsd-2.0.0 vs lib/logstash/outputs/statsd.rb in logstash-output-statsd-2.0.1

- old
+ new

@@ -87,10 +87,10 @@ @client = Statsd.new(@host, @port) end # def register public def receive(event) - return unless output?(event) + @client.namespace = event.sprintf(@namespace) if not @namespace.empty? @logger.debug? and @logger.debug("Original sender: #{@sender}") sender = event.sprintf(@sender) @logger.debug? and @logger.debug("Munged sender: #{sender}") @logger.debug? and @logger.debug("Event: #{event}")