Skip to content

Commit e83ec3d

Browse files
committed
Explicitly say that we are downloading and what the content length is
1 parent f062e94 commit e83ec3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/logstash/inputs/s3/processor.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ def handle(remote_file)
1818
return if !validator.process?(remote_file)
1919
@logger.debug("Remote file passed validation. Downloading data.", :remote_file => remote_file)
2020

21+
puts "remote_file.content_length: #{remote_file.content_length} which is > 0. Downloading!"
22+
2123
remote_file.download!
2224

2325
@logger.debug("File downloaded. Emitting events.", :remote_file => remote_file)

0 commit comments

Comments
 (0)