Class MDCFilter

  • All Implemented Interfaces:
    ContextAware, LifeCycle

    @Deprecated(since="2022-01-27")
    public class MDCFilter
    extends MatchingFilter
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    This class allows output for a given MDC value.

    When the given value is identified by this TurboFilter, the reply is based on the OnMatch option. The information is taken from the MDC. For this TurboFilter to work, one must set the key that will be used to access the information in the MDC.

    To allow output for the value, set the OnMatch option to ACCEPT. To disable output for the given value, set the OnMatch option to DENY.

    By default, values of the OnMatch and OnMisMatch options are set to NEUTRAL.

    • Constructor Detail

      • MDCFilter

        public MDCFilter()
        Deprecated.
    • Method Detail

      • setValue

        public void setValue​(java.lang.String value)
        Deprecated.
      • setMDCKey

        public void setMDCKey​(java.lang.String MDCKey)
        Deprecated.