diff options
author | Elvin Efendi <elvin.efendiyev@gmail.com> | 2016-06-02 23:53:29 +0200 |
---|---|---|
committer | Elvin Efendi <elvin.efendiyev@gmail.com> | 2016-06-02 23:53:29 +0200 |
commit | aef81bd14989797d26d349fdf1a517045f5af33c (patch) | |
tree | db194c27c1fa4c8542a048e4afd8dcb0793acb27 /lib/oxidized/job.rb | |
parent | 779f20dd18a361b5bde51f3f11c6d048efe100a0 (diff) | |
parent | 64bdbeb673a8ab7155478ee5e0d1d58c1631a9d3 (diff) |
Merge pull request #25 from Shopify/debug-statements
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 |