diff options
author | Thom May <thom@chef.io> | 2018-03-23 13:05:13 +0000 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-26 10:34:39 -0700 |
commit | 97c1dd6f1cac6d97e85d05039cad8b28596141ba (patch) | |
tree | d8a97c0f7016986a2cc264aa50ae345638ed026c /lib/chef/knife/bootstrap.rb | |
parent | 1b81f35e023bcdc87e410c641545e849298de5c3 (diff) | |
download | chef-97c1dd6f1cac6d97e85d05039cad8b28596141ba.tar.gz |
mechanical conversion of most debug log statements to trace
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/knife/bootstrap.rb')
-rw-r--r-- | lib/chef/knife/bootstrap.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb index 2a9fd2da69..15d0f1be18 100644 --- a/lib/chef/knife/bootstrap.rb +++ b/lib/chef/knife/bootstrap.rb @@ -303,7 +303,7 @@ class Chef # Use the template directly if it's a path to an actual file if File.exists?(template) - Chef::Log.debug("Using the specified bootstrap template: #{File.dirname(template)}") + Chef::Log.trace("Using the specified bootstrap template: #{File.dirname(template)}") return template end @@ -316,7 +316,7 @@ class Chef bootstrap_files.flatten! template_file = Array(bootstrap_files).find do |bootstrap_template| - Chef::Log.debug("Looking for bootstrap template in #{File.dirname(bootstrap_template)}") + Chef::Log.trace("Looking for bootstrap template in #{File.dirname(bootstrap_template)}") File.exists?(bootstrap_template) end @@ -325,7 +325,7 @@ class Chef raise Errno::ENOENT end - Chef::Log.debug("Found bootstrap template in #{File.dirname(template_file)}") + Chef::Log.trace("Found bootstrap template in #{File.dirname(template_file)}") template_file end |