lib/flapjack/processor.rb in flapjack-0.7.21 vs lib/flapjack/processor.rb in flapjack-0.7.22
- old
+ new
@@ -243,10 +243,10 @@
@redis.set("#{event.id}:last_#{notification_type}_notification", timestamp)
@redis.set("#{event.id}:last_#{event.state}_notification", timestamp) if event.failure?
@redis.rpush("#{event.id}:#{notification_type}_notifications", timestamp)
@redis.rpush("#{event.id}:#{event.state}_notifications", timestamp) if event.failure?
- @logger.debug("Notification of type #{notification_type} is being generated for #{event.id}.")
+ @logger.debug("Notification of type #{notification_type} is being generated for #{event.id}: " + event.inspect)
severity = Flapjack::Data::Notification.severity_for_event(event, max_notified_severity)
last_state = entity_check.historical_state_before(timestamp)
Flapjack::Data::Notification.add(@notifier_queue, event,