Changing logger level to debug for TracingSecurityContextChangedListener

This commit is contained in:
Jonatan Ivanov
2021-08-26 14:49:04 -07:00
parent f3051483d7
commit f781cea815

View File

@@ -83,7 +83,9 @@ public class TracingSecurityContextChangedListener implements SecurityContextCha
Span span = this.tracer.currentSpan();
if (span != null) {
String event = format(sleuthSecurityEvent.getValue(), (Object[]) params);
LOGGER.info(event);
if (LOGGER.isDebugEnabled()) {
LOGGER.debug(event);
}
SECURITY_CONTEXT_CHANGE.wrap(span).event(event);
}
}