diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-07-29 12:11:56 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-07-29 12:11:56 +0100 |
commit | 5f57bc117ff110d21fe6c130816c208c35f0b987 (patch) | |
tree | 0fb738b571bb18bd90f569e21ecf1221ed4024bc /lib/mauve/timer.rb | |
parent | fd23821950f0562a8995735105cd31fdc6d55933 (diff) |
* Added initial logger
* Acknowledgement time calculations now in JS
* Updated logging to indicate where and update comes from
Diffstat (limited to 'lib/mauve/timer.rb')
-rw-r--r-- | lib/mauve/timer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/timer.rb b/lib/mauve/timer.rb index 8533451..1c8c37c 100644 --- a/lib/mauve/timer.rb +++ b/lib/mauve/timer.rb @@ -49,7 +49,7 @@ module Mauve # # La la la nothing to do. # - logger.info("Next to notify: #{next_to_notify} -- snoozing until #{next_to_notify.due_at}") + logger.info("Next to notify: #{next_to_notify} #{next_to_notify.is_a?(AlertChanged) ? "(reminder)" : "(heartbeat)"} -- snoozing until #{next_to_notify.due_at.iso8601}") sleep_loops = ((next_to_notify.due_at - MauveTime.now).to_f / 0.1).round.to_i end |