summaryrefslogtreecommitdiff
path: root/lib/chef/knife/ssl_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/ssl_check.rb')
-rw-r--r--lib/chef/knife/ssl_check.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/knife/ssl_check.rb b/lib/chef/knife/ssl_check.rb
index b3374e0999..c864ef52ec 100644
--- a/lib/chef/knife/ssl_check.rb
+++ b/lib/chef/knife/ssl_check.rb
@@ -44,7 +44,7 @@ class Chef
def uri
@uri ||= begin
- Chef::Log.debug("Checking SSL cert on #{given_uri}")
+ Chef::Log.trace("Checking SSL cert on #{given_uri}")
URI.parse(given_uri)
end
end
@@ -131,7 +131,7 @@ class Chef
true
rescue OpenSSL::SSL::SSLError => e
ui.error "The SSL certificate of #{host} could not be verified"
- Chef::Log.debug e.message
+ Chef::Log.trace e.message
debug_invalid_cert
false
end
@@ -141,7 +141,7 @@ class Chef
true
rescue OpenSSL::SSL::SSLError => e
ui.error "The SSL cert is signed by a trusted authority but is not valid for the given hostname"
- Chef::Log.debug(e)
+ Chef::Log.trace(e)
debug_invalid_host
false
end