Skip to content

Commit b4083f1

Browse files
committed
Revert "gh-13136 fixed log level related bug"
This reverts commit 1e093db.
1 parent 1e093db commit b4083f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

saml2/saml2-service-provider/src/opensaml3Main/java/org/springframework/security/saml2/provider/service/authentication/OpenSamlAuthenticationProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ private void process(Saml2AuthenticationToken token, Response response) {
507507

508508
if (result.hasErrors()) {
509509
Collection<Saml2Error> errors = result.getErrors();
510-
if (logger.isDebugEnabled()) {
510+
if (logger.isTraceEnabled()) {
511511
logger.debug("Found " + errors.size() + " validation errors in SAML response [" + response.getID()
512512
+ "]: " + errors);
513513
}

saml2/saml2-service-provider/src/opensaml4Main/java/org/springframework/security/saml2/provider/service/authentication/OpenSaml4AuthenticationProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ else if (!response.getEncryptedAssertions().isEmpty()) {
559559

560560
if (result.hasErrors()) {
561561
Collection<Saml2Error> errors = result.getErrors();
562-
if (this.logger.isDebugEnabled()) {
562+
if (this.logger.isTraceEnabled()) {
563563
this.logger.debug("Found " + errors.size() + " validation errors in SAML response [" + response.getID()
564564
+ "]: " + errors);
565565
}

0 commit comments

Comments
 (0)