diff options
Diffstat (limited to 'lib/oxidized/node.rb')
-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 |