From a3a914a765d9932acbd6364304385034ba2dc7e1 Mon Sep 17 00:00:00 2001 From: Jordan Sissel Date: Thu, 14 Feb 2013 12:13:29 -0800 Subject: [PATCH] - style fixes --- lib/logstash/outputs/lumberjack.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/logstash/outputs/lumberjack.rb b/lib/logstash/outputs/lumberjack.rb index f43edbfb687..d7c2e00f90e 100644 --- a/lib/logstash/outputs/lumberjack.rb +++ b/lib/logstash/outputs/lumberjack.rb @@ -31,10 +31,10 @@ def receive(event) "host" => event.source_host, "file" => event.source_path, "type" => event.type - }.merge(event.fields) + }.merge(event["@fields"]) ) rescue Exception => e - @logger.log("Client write error", :e => e, :backtrace => e.backtrace) + @logger.error("Client write error", :e => e, :backtrace => e.backtrace) connect retry end