lib/logstash/inputs/mongoprofile.rb in logstash-input-mongoprofile-0.1.13 vs lib/logstash/inputs/mongoprofile.rb in logstash-input-mongoprofile-0.1.14
- old
+ new
@@ -33,11 +33,11 @@
# we can abort the loop if stop? becomes true
while !stop?
begin
@controller.get_next_events.each do |event|
- @logger.info("Send event #{event}")
+ @logger.debug("Send event #{event}")
decorate(event)
queue << event
end
@@ -124,10 +124,10 @@
def parse(document)
@logger.info('Start documents parsing')
event = LogStash::Event.new('host' => @host)
document.each do |key, value|
- @logger.info("Try set event field key: #{key} value: #{value}")
+ @logger.debug("Try set event field key: #{key} value: #{value}")
event.set(key, value)
end
event
end
\ No newline at end of file