lib/logstash/outputs/nagios_nsca.rb in logstash-output-nagios_nsca-2.0.0 vs lib/logstash/outputs/nagios_nsca.rb in logstash-output-nagios_nsca-2.0.1
- old
+ new
@@ -64,10 +64,10 @@
end
public
def receive(event)
# exit if type or tags don't match
- return unless output?(event)
+
# catch logstash shutdown
return if event == LogStash::SHUTDOWN
# skip if 'send_nsca' binary doesn't exist