Class LoggingProperties

java.lang.Object
org.apereo.cas.configuration.model.core.logging.LoggingProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-core-logging", automated=true) public class LoggingProperties extends Object implements Serializable
Since:
5.0.0
See Also:
  • Constructor Details

    • LoggingProperties

      public LoggingProperties()
  • Method Details

    • isMdcEnabled

      public boolean isMdcEnabled()
      Allow CAS to add http request details into the logging's MDC filter. Mapped Diagnostic Context is essentially a map maintained by the logging framework where the application code provides key-value pairs which can then be inserted by the logging framework in log messages. MDC data can also be highly helpful in filtering messages or triggering certain actions.
    • setMdcEnabled

      public LoggingProperties setMdcEnabled(boolean mdcEnabled)
      Allow CAS to add http request details into the logging's MDC filter. Mapped Diagnostic Context is essentially a map maintained by the logging framework where the application code provides key-value pairs which can then be inserted by the logging framework in log messages. MDC data can also be highly helpful in filtering messages or triggering certain actions.
      Returns:
      this.