aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/alert.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-08-19 10:23:01 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-08-19 10:23:01 +0100
commitc1cf28d9dcc63622b5df1caeab3a2baf66811443 (patch)
tree1bde7a1aac62472f73740657bfe77a01184e534c /lib/mauve/alert.rb
parent3455b9a9f195e273e574989a0845ad8d2065e82f (diff)
Added last_state_changed thing for MauveThread. Closes #1836.
Diffstat (limited to 'lib/mauve/alert.rb')
-rw-r--r--lib/mauve/alert.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/alert.rb b/lib/mauve/alert.rb
index 22f6784..bf47d34 100644
--- a/lib/mauve/alert.rb
+++ b/lib/mauve/alert.rb
@@ -319,10 +319,10 @@ module Mauve
end
def poll
+ logger.debug("Polling #{self.to_s}")
raise! if (will_unacknowledge_at and will_unacknowledge_at <= Time.now) or
(will_raise_at and will_raise_at <= Time.now)
clear! if will_clear_at && will_clear_at <= Time.now
- logger.info("Polled #{self.to_s}")
end