summaryrefslogtreecommitdiff
path: root/lib/chef/provider/group/windows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/group/windows.rb')
-rw-r--r--lib/chef/provider/group/windows.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/group/windows.rb b/lib/chef/provider/group/windows.rb
index c0026bf368..e0cb3b804b 100644
--- a/lib/chef/provider/group/windows.rb
+++ b/lib/chef/provider/group/windows.rb
@@ -42,7 +42,7 @@ class Chef
members = @net_group.local_get_members
rescue
@group_exists = false
- Chef::Log.debug("#{new_resource} group does not exist")
+ logger.trace("#{new_resource} group does not exist")
end
if members
@@ -99,7 +99,7 @@ class Chef
def lookup_account_name(account_name)
Chef::ReservedNames::Win32::Security.lookup_account_name(locally_qualified_name(account_name))[1].to_s
rescue Chef::Exceptions::Win32APIError
- Chef::Log.warn("SID for '#{locally_qualified_name(account_name)}' could not be found")
+ logger.warn("SID for '#{locally_qualified_name(account_name)}' could not be found")
""
end