Package org.keycloak.logging
Class MappedDiagnosticContextUtil
java.lang.Object
org.keycloak.logging.MappedDiagnosticContextUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
clearMdc()
Clears the Mapped Diagnostic Context (MDC), but only clears the key/value pairs that were set by this provider.static void
setKeysToClear
(Collection<String> keys)
-
Constructor Details
-
MappedDiagnosticContextUtil
public MappedDiagnosticContextUtil()
-
-
Method Details
-
getMappedDiagnosticContextProvider
public static MappedDiagnosticContextProvider getMappedDiagnosticContextProvider(KeycloakSession session) -
setKeysToClear
-
clearMdc
public static void clearMdc()Clears the Mapped Diagnostic Context (MDC), but only clears the key/value pairs that were set by this provider.
-