summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package/powershell.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/provider/package/powershell.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/provider/package/powershell.rb')
-rw-r--r--lib/chef/provider/package/powershell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/powershell.rb b/lib/chef/provider/package/powershell.rb
index 02ae114f55..87af7f61d8 100644
--- a/lib/chef/provider/package/powershell.rb
+++ b/lib/chef/provider/package/powershell.rb
@@ -67,7 +67,7 @@ class Chef
until version.empty?
version = powershell_out(build_powershell_command("Uninstall-Package '#{name}'"), timeout: new_resource.timeout).stdout.strip
unless version.empty?
- Chef::Log.info("Removed package '#{name}' with version #{version}")
+ logger.info("Removed package '#{name}' with version #{version}")
end
end
end