diff options
author | ytti <saku@ytti.fi> | 2016-06-03 09:23:52 +0300 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2016-06-03 09:23:52 +0300 |
commit | 7fd44b27500d03c42ecc2e6868da796c87abd730 (patch) | |
tree | db194c27c1fa4c8542a048e4afd8dcb0793acb27 /lib/oxidized/job.rb | |
parent | 779f20dd18a361b5bde51f3f11c6d048efe100a0 (diff) | |
parent | aef81bd14989797d26d349fdf1a517045f5af33c (diff) |
Merge pull request #458 from Shopify/master
Debug statements
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 |