From 2e3eb45f19b9c40353705df19a8e0a316fd314c6 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Thu, 25 Aug 2016 16:47:38 +0300 Subject: quote debugging --- lib/oxidized/node.rb | 8 ++++---- 1 file 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 -- cgit v1.2.1