summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/vmware.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/vmware.rb')
-rw-r--r--lib/ohai/plugins/vmware.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/plugins/vmware.rb b/lib/ohai/plugins/vmware.rb
index 73b2505d..06b104d9 100644
--- a/lib/ohai/plugins/vmware.rb
+++ b/lib/ohai/plugins/vmware.rb
@@ -42,7 +42,7 @@ Ohai.plugin(:VMware) do
def get_vm_attributes(vmtools_path)
if !File.exist?(vmtools_path)
- Ohai::Log.debug("Plugin VMware: #{vmtools_path} not found")
+ logger.trace("Plugin VMware: #{vmtools_path} not found")
else
vmware Mash.new
begin
@@ -62,7 +62,7 @@ Ohai.plugin(:VMware) do
vmware[param] = from_cmd("#{vmtools_path} #{param} status")
end
rescue
- Ohai::Log.debug("Plugin VMware: Error while collecting VMware guest attributes")
+ logger.trace("Plugin VMware: Error while collecting VMware guest attributes")
end
end
end