lib/syslogstash.rb in syslogstash-0.1.5 vs lib/syslogstash.rb in syslogstash-0.2.0
- old
+ new
@@ -4,11 +4,11 @@
# Read syslog messages from one or more sockets, and send it to a logstash
# server.
#
class Syslogstash
- def initialize(sockets, servers)
- @writer = LogstashWriter.new(servers)
+ def initialize(sockets, servers, backlog)
+ @writer = LogstashWriter.new(servers, backlog)
@readers = sockets.map { |f, tags| SyslogReader.new(f, tags, @writer) }
end
def run