There was an error while loading. Please reload this page.
1 parent 2073b90 commit 4776813Copy full SHA for 4776813
lib/logstash/outputs/file.rb
@@ -92,15 +92,15 @@ def validate_path
92
def receive(event)
93
return unless output?(event)
94
95
- log_path = generate_filepath(event)
+ file_output_path = generate_filepath(event)
96
97
- if interpolated_path? && !inside_file_root?(log_path)
+ if interpolated_path? && !inside_file_root?(file_output_path)
98
tag_as_filepath_failure(event)
99
- log_path = @failure_path
+ file_output_path = @failure_path
100
end
101
102
output = format_message(event)
103
- write_event(log_path, output)
+ write_event(file_output_path, output)
104
end # def receive
105
106
private
0 commit comments