diff options
author | Saku Ytti <saku@ytti.fi> | 2016-08-25 16:47:38 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2016-08-25 16:47:38 +0300 |
commit | 2e3eb45f19b9c40353705df19a8e0a316fd314c6 (patch) | |
tree | aa07e9a8ba6d478d33176151d38cd8e6da624582 /lib/oxidized | |
parent | 5aada44192d1f6173c128baa2f602e6630886f1b (diff) |
quote debugging
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/node.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/oxidized/node.rb b/lib/oxidized/node.rb index 66262b8..c93a16a 100644 --- a/lib/oxidized/node.rb +++ b/lib/oxidized/node.rb @@ -183,25 +183,25 @@ module Oxidized key_sym = key.to_sym key_str = key.to_s value = global - Oxidized.logger.debug "resolving node key #{key}, with global value of #{value} and node value #{opt[key_sym]}" + Oxidized.logger.debug "node.rb: resolving node key '#{key}', with passed global value of '#{value}' and node value '#{opt[key_sym]}'" #global if not value and Oxidized.config.has_key?(key_str) value = Oxidized.config[key_str] - Oxidized.logger.debug "setting node key #{key} to value #{value} from global" + Oxidized.logger.debug "node.rb: setting node key '#{key}' to value '#{value}' from global" end #group if Oxidized.config.groups.has_key?(@group) if Oxidized.config.groups[@group].has_key?(key_str) value = Oxidized.config.groups[@group][key_str] - Oxidized.logger.debug "setting node key #{key} to value #{value} from group" + Oxidized.logger.debug "node.rb: setting node key '#{key}' to value '#{value}' from group" end end #node value = opt[key_sym] || value - Oxidized.logger.debug "returning node key #{key} with value #{value}" + Oxidized.logger.debug "node.rb: returning node key '#{key}' with value '#{value}'" value end |