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/provider/ifconfig.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/provider/ifconfig.rb')
-rw-r--r-- | lib/chef/provider/ifconfig.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/provider/ifconfig.rb b/lib/chef/provider/ifconfig.rb index c8da5e255f..243c8ee9c3 100644 --- a/lib/chef/provider/ifconfig.rb +++ b/lib/chef/provider/ifconfig.rb @@ -164,7 +164,7 @@ class Chef command = add_command converge_by("run #{command.join(' ')} to add #{new_resource}") do shell_out_compact!(command) - Chef::Log.info("#{new_resource} added") + logger.info("#{new_resource} added") end end end @@ -180,7 +180,7 @@ class Chef command = enable_command converge_by("run #{command.join(' ')} to enable #{new_resource}") do shell_out_compact!(command) - Chef::Log.info("#{new_resource} enabled") + logger.info("#{new_resource} enabled") end end @@ -190,10 +190,10 @@ class Chef command = delete_command converge_by("run #{command.join(' ')} to delete #{new_resource}") do shell_out_compact!(command) - Chef::Log.info("#{new_resource} deleted") + logger.info("#{new_resource} deleted") end else - Chef::Log.debug("#{new_resource} does not exist - nothing to do") + logger.trace("#{new_resource} does not exist - nothing to do") end delete_config end @@ -205,10 +205,10 @@ class Chef command = disable_command converge_by("run #{command.join(' ')} to disable #{new_resource}") do shell_out_compact!(command) - Chef::Log.info("#{new_resource} disabled") + logger.info("#{new_resource} disabled") end else - Chef::Log.debug("#{new_resource} does not exist - nothing to do") + logger.trace("#{new_resource} does not exist - nothing to do") end end |