diff --git a/saml2/saml2-service-provider/src/opensaml3Main/java/org/springframework/security/saml2/provider/service/authentication/OpenSamlAuthenticationProvider.java b/saml2/saml2-service-provider/src/opensaml3Main/java/org/springframework/security/saml2/provider/service/authentication/OpenSamlAuthenticationProvider.java index 38d0f8f3d4..18ec5f77eb 100644 --- a/saml2/saml2-service-provider/src/opensaml3Main/java/org/springframework/security/saml2/provider/service/authentication/OpenSamlAuthenticationProvider.java +++ b/saml2/saml2-service-provider/src/opensaml3Main/java/org/springframework/security/saml2/provider/service/authentication/OpenSamlAuthenticationProvider.java @@ -507,7 +507,7 @@ public final class OpenSamlAuthenticationProvider implements AuthenticationProvi if (result.hasErrors()) { Collection errors = result.getErrors(); - if (logger.isDebugEnabled()) { + if (logger.isTraceEnabled()) { logger.debug("Found " + errors.size() + " validation errors in SAML response [" + response.getID() + "]: " + errors); } diff --git a/saml2/saml2-service-provider/src/opensaml4Main/java/org/springframework/security/saml2/provider/service/authentication/OpenSaml4AuthenticationProvider.java b/saml2/saml2-service-provider/src/opensaml4Main/java/org/springframework/security/saml2/provider/service/authentication/OpenSaml4AuthenticationProvider.java index ab246094b7..92ece427ce 100644 --- a/saml2/saml2-service-provider/src/opensaml4Main/java/org/springframework/security/saml2/provider/service/authentication/OpenSaml4AuthenticationProvider.java +++ b/saml2/saml2-service-provider/src/opensaml4Main/java/org/springframework/security/saml2/provider/service/authentication/OpenSaml4AuthenticationProvider.java @@ -559,7 +559,7 @@ public final class OpenSaml4AuthenticationProvider implements AuthenticationProv if (result.hasErrors()) { Collection errors = result.getErrors(); - if (this.logger.isDebugEnabled()) { + if (this.logger.isTraceEnabled()) { this.logger.debug("Found " + errors.size() + " validation errors in SAML response [" + response.getID() + "]: " + errors); }