lib/jflow/cli.rb in jflow-0.4.3 vs lib/jflow/cli.rb in jflow-0.4.4
- old
+ new
@@ -68,10 +68,9 @@
Thread.current.set_state(:polling)
stats = JFlow::Stats.new(@domain, @tasklist)
protector = JFlow::TerminationProtector.new
loop do
break if Thread.current.marked_for_shutdown?
- JFlow.configuration.logger.debug "Should protect?: #{should_protect?}"
protector.set_protection(should_protect?) if is_ec2_instance?
stats.tick if enable_stats
sleep 30
end
end