diff options
author | Elvin Efendi <elvin.efendiyev@gmail.com> | 2016-06-02 21:24:48 +0200 |
---|---|---|
committer | Elvin Efendi <elvin.efendiyev@gmail.com> | 2016-06-02 22:14:09 +0200 |
commit | 71d9bdc6a529d187d58a855208341409aa872289 (patch) | |
tree | 15b102314c4090d9ecdcd518e3c5c902027bfeaa /lib/oxidized/job.rb | |
parent | cf4ab7752cd7c6141f2da0a7491c9f1842c88f09 (diff) |
more debug stratements
Diffstat (limited to 'lib/oxidized/job.rb')
-rw-r--r-- | lib/oxidized/job.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/job.rb b/lib/oxidized/job.rb index 0a4a24b..924cd44 100644 --- a/lib/oxidized/job.rb +++ b/lib/oxidized/job.rb @@ -5,9 +5,11 @@ module Oxidized @node = node @start = Time.now.utc super do + Oxidized.logger.debug "lib/oxidized/job.rb: Starting fetching process for #{@node.name} at #{Time.now.utc}" @status, @config = @node.run @end = Time.now.utc @time = @end - @start + Oxidized.logger.debug "lib/oxidized/job.rb: Config fetched for #{@node.name} at #{@end}" end end end |