gh-13136 fixed log level related bug

This commit is contained in:
stnor 2023-05-06 19:53:08 +02:00 committed by Josh Cummings
parent e61adcb0cd
commit 1e093db1b6
2 changed files with 2 additions and 2 deletions

View File

@ -507,7 +507,7 @@ public final class OpenSamlAuthenticationProvider implements AuthenticationProvi
if (result.hasErrors()) {
Collection<Saml2Error> errors = result.getErrors();
if (logger.isTraceEnabled()) {
if (logger.isDebugEnabled()) {
logger.debug("Found " + errors.size() + " validation errors in SAML response [" + response.getID()
+ "]: " + errors);
}

View File

@ -559,7 +559,7 @@ public final class OpenSaml4AuthenticationProvider implements AuthenticationProv
if (result.hasErrors()) {
Collection<Saml2Error> errors = result.getErrors();
if (this.logger.isTraceEnabled()) {
if (this.logger.isDebugEnabled()) {
this.logger.debug("Found " + errors.size() + " validation errors in SAML response [" + response.getID()
+ "]: " + errors);
}