Skip to content

Commit bbbf9c1

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

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ It is more important to the community that you are able to contribute.
116116

117117
For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
118118

119-
Arbitrary change to trigger a build #2
119+
Arbitrary change to trigger a build #3

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)