summaryrefslogtreecommitdiff
path: root/src/saml2/httpbase.py
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2022-10-28 12:21:00 +0300
committerGitHub <noreply@github.com>2022-10-28 12:21:00 +0300
commit4fa20a92a9d7fccc2ca34f1f6ad777cc0fd36ef7 (patch)
tree15618abac233a3cff518736d6640e0bf192404ca /src/saml2/httpbase.py
parentd3aeeabcd1dfcf224b0c224fe3e2f5b8c0202940 (diff)
parent926eaecda38d43007535e4985570e2abbc14d41a (diff)
downloadpysaml2-4fa20a92a9d7fccc2ca34f1f6ad777cc0fd36ef7.tar.gz
Merge pull request #876 from bajnokk/no-verbose-log
logging: write less on INFO level
Diffstat (limited to 'src/saml2/httpbase.py')
-rw-r--r--src/saml2/httpbase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saml2/httpbase.py b/src/saml2/httpbase.py
index 08b5aea6..4c0a5ad4 100644
--- a/src/saml2/httpbase.py
+++ b/src/saml2/httpbase.py
@@ -319,11 +319,11 @@ class HTTPBase(object):
args["headers"] = dict(args["headers"])
response = self.send(**args)
except Exception as exc:
- logger.info("HTTPClient exception: %s", str(exc))
+ logger.error("HTTPClient exception: %s", str(exc))
raise
if response.status_code == 200:
- logger.info("SOAP response: %s", response.text)
+ logger.debug("SOAP response: %s", response.text)
return response
else:
raise HTTPError("%d:%s" % (response.status_code, response.content))