lib/logstash_writer.rb in logstash_writer-0.0.2 vs lib/logstash_writer.rb in logstash_writer-0.0.3

- old
+ new

@@ -279,10 +279,9 @@ until done @socket_mutex.synchronize do if @current_socket begin - @logger.debug("LogstashWriter") { "Using current server #{describe_peer(@current_socket)}" } yield @current_socket @metrics[:connected].set({}, 1) done = true rescue SystemCallError => ex # Something went wrong during the send; disconnect from this