Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Commit 7ee3aa7

Browse files
author
Ahmed Ammar
committed
test
1 parent e7e1f0a commit 7ee3aa7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/logstash/inputs/dynamodb.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def setup_stream
275275

276276
private
277277
def scan(logstash_queue)
278-
@logger.info("Starting scan...")
278+
@logger.warn("Starting scan...")
279279
@logstash_writer = DynamoDBBootstrap::BlockingQueueConsumer.new(@number_of_write_threads)
280280

281281
@connector = DynamoDBBootstrap::DynamoDBBootstrapWorker.new(@dynamodb_client, @read_ops, @table_name, @number_of_scan_threads)
@@ -293,13 +293,15 @@ def scan(logstash_queue)
293293

294294
private
295295
def stream(logstash_queue)
296-
@logger.info("Starting stream...")
296+
@logger.warn("Starting stream...")
297297
start_kcl_thread
298298

299299
while !stop?
300300
event = @queue.pop()
301301
queue_event(@parser.parse_stream(event), logstash_queue, @host)
302302
end # while true
303+
304+
@logger.warn("Stopping stream...")
303305
end
304306

305307
private

0 commit comments

Comments
 (0)