diff options
author | Christopher Brown <cb@opscode.com> | 2009-12-10 11:11:45 -0800 |
---|---|---|
committer | Christopher Brown <cb@opscode.com> | 2009-12-10 11:11:45 -0800 |
commit | c18a44241871c074695e31a3a5b4343ddeee4009 (patch) | |
tree | 64ce08b667e8a89458c53520e90116e3029fc2f5 | |
parent | f073834372d4fceb3073bf9f5790d9b7420368dd (diff) | |
download | mixlib-authentication-c18a44241871c074695e31a3a5b4343ddeee4009.tar.gz |
fix log level call and remove spurious auth header dump in a debug statement
-rw-r--r-- | lib/mixlib/authentication.rb | 2 | ||||
-rw-r--r-- | lib/mixlib/authentication/signatureverification.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/mixlib/authentication.rb b/lib/mixlib/authentication.rb index cbc7e2c..38b466e 100644 --- a/lib/mixlib/authentication.rb +++ b/lib/mixlib/authentication.rb @@ -24,7 +24,7 @@ module Mixlib extend Mixlib::Log end - Log.level :error + Log.level = :error end end diff --git a/lib/mixlib/authentication/signatureverification.rb b/lib/mixlib/authentication/signatureverification.rb index 4383007..570a5b9 100644 --- a/lib/mixlib/authentication/signatureverification.rb +++ b/lib/mixlib/authentication/signatureverification.rb @@ -96,7 +96,7 @@ module Mixlib @hashed_body = digester.hash_body(body) end - Mixlib::Authentication::Log.debug "Authenticating user : #{user_id}, User secret is : #{@user_secret}, Request signature is :\n#{@request_signature}, Auth HTTP header is :\n#{headers[:authorization]}, Hashed Body is : #{@hashed_body}" + Mixlib::Authentication::Log.debug "Authenticating user : #{user_id}, User secret is : #{@user_secret}, Request signature is :\n#{@request_signature}, Hashed Body is : #{@hashed_body}" #BUGBUG Not doing anything with the signing description yet [cb] parse_signing_description |