lib/logstash/outputs/file.rb in logstash-output-file-2.0.0 vs lib/logstash/outputs/file.rb in logstash-output-file-2.0.1
- old
+ new
@@ -85,10 +85,10 @@
end
end
public
def receive(event)
- return unless output?(event)
+
file_output_path = generate_filepath(event)
if path_with_field_ref? && !inside_file_root?(file_output_path)
@logger.warn("File: the event tried to write outside the files root, writing the event to the failure file", :event => event, :filename => @failure_path)