summaryrefslogtreecommitdiff
path: root/lib/chef/dsl/include_attribute.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-03-23 13:05:13 +0000
committerThom May <thom@chef.io>2018-03-23 15:36:45 +0000
commit41eb0672da4f678231f03b1b7e14dd631f8b1e49 (patch)
treefee217a9f5ada6b89487b71576524f86d2445717 /lib/chef/dsl/include_attribute.rb
parent57f74c4eae1c8683abacf92ad5bca86ae4a35522 (diff)
downloadchef-tm/lower_debug.tar.gz
mechanical conversion of most debug log statements to tracetm/lower_debug
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/dsl/include_attribute.rb')
-rw-r--r--lib/chef/dsl/include_attribute.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/dsl/include_attribute.rb b/lib/chef/dsl/include_attribute.rb
index 9f73143722..c81b37a963 100644
--- a/lib/chef/dsl/include_attribute.rb
+++ b/lib/chef/dsl/include_attribute.rb
@@ -31,9 +31,9 @@ class Chef
attr_file_specs.flatten.each do |attr_file_spec|
cookbook_name, attr_file = parse_attribute_file_spec(attr_file_spec)
if run_context.loaded_fully_qualified_attribute?(cookbook_name, attr_file)
- Chef::Log.debug("I am not loading attribute file #{cookbook_name}::#{attr_file}, because I have already seen it.")
+ Chef::Log.trace("I am not loading attribute file #{cookbook_name}::#{attr_file}, because I have already seen it.")
else
- Chef::Log.debug("Loading Attribute #{cookbook_name}::#{attr_file}")
+ Chef::Log.trace("Loading Attribute #{cookbook_name}::#{attr_file}")
run_context.loaded_attribute(cookbook_name, attr_file)
attr_file_path = run_context.resolve_attribute(cookbook_name, attr_file)
node.from_file(attr_file_path)