diff options
author | Thom May <thom@chef.io> | 2018-04-11 14:23:25 +0100 |
---|---|---|
committer | Thom May <thom@chef.io> | 2018-04-11 14:23:25 +0100 |
commit | 23e5b6782725f646ad40bdc38b5ece50bf044534 (patch) | |
tree | 8f4f40385581eb01785daa178b21d89eac261785 /lib/mixlib/authentication/signedheaderauth.rb | |
parent | a2fbf74d0b2123b9cc28e3baf7ca81b061036635 (diff) | |
download | mixlib-authentication-tm/logging.tar.gz |
Move mixlib-auth debugging to trace leveltm/logging
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/mixlib/authentication/signedheaderauth.rb')
-rw-r--r-- | lib/mixlib/authentication/signedheaderauth.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mixlib/authentication/signedheaderauth.rb b/lib/mixlib/authentication/signedheaderauth.rb index e870135..6b9b850 100644 --- a/lib/mixlib/authentication/signedheaderauth.rb +++ b/lib/mixlib/authentication/signedheaderauth.rb @@ -115,7 +115,7 @@ module Mixlib header_hash[key] = signature_lines[idx] end - Mixlib::Authentication.logger.debug "Header hash: #{header_hash.inspect}" + Mixlib::Authentication.logger.trace "Header hash: #{header_hash.inspect}" header_hash end @@ -236,7 +236,7 @@ module Mixlib memo[field_name.to_sym] = field_value.strip memo end - Mixlib::Authentication.logger.debug "Parsed signing description: #{parts.inspect}" + Mixlib::Authentication.logger.trace "Parsed signing description: #{parts.inspect}" parts end @@ -247,7 +247,7 @@ module Mixlib # private def do_sign(private_key, digest, sign_algorithm, sign_version) string_to_sign = canonicalize_request(sign_algorithm, sign_version) - Mixlib::Authentication.logger.debug "String to sign: '#{string_to_sign}'" + Mixlib::Authentication.logger.trace "String to sign: '#{string_to_sign}'" case sign_version when "1.3" private_key.sign(digest.new, string_to_sign) |