lib/logstash/outputs/stdout.rb in logstash-output-stdout-1.1.0 vs lib/logstash/outputs/stdout.rb in logstash-output-stdout-2.0.0
- old
+ new
@@ -48,13 +48,10 @@
end
end
def receive(event)
return unless output?(event)
- if event == LogStash::SHUTDOWN
- finished
- return
- end
+ return if event == LogStash::SHUTDOWN
@codec.encode(event)
end
end # class LogStash::Outputs::Stdout