Bläddra i källkod

Revert "gh-13136 fixed log level related bug"

This reverts commit 1e093db1b622984f76c6e387530715390f69ac45.
Josh Cummings 2 år sedan
förälder
incheckning
b4083f1b9e

+ 1 - 1
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<Saml2Error> errors = result.getErrors();
-			if (logger.isDebugEnabled()) {
+			if (logger.isTraceEnabled()) {
 				logger.debug("Found " + errors.size() + " validation errors in SAML response [" + response.getID()
 						+ "]: " + errors);
 			}

+ 1 - 1
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<Saml2Error> 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);
 			}