Class MappedDiagnosticContextUtil

java.lang.Object
org.keycloak.logging.MappedDiagnosticContextUtil

public final class MappedDiagnosticContextUtil extends Object
  • Constructor Details

    • MappedDiagnosticContextUtil

      public MappedDiagnosticContextUtil()
  • Method Details

    • getMappedDiagnosticContextProvider

      public static MappedDiagnosticContextProvider getMappedDiagnosticContextProvider(KeycloakSession session)
    • setKeysToClear

      public static void setKeysToClear(Collection<String> keys)
    • clearMdc

      public static void clearMdc()
      Clears the Mapped Diagnostic Context (MDC), but only clears the key/value pairs that were set by this provider.