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
This is
LoggingProperties
.- Since:
- 5.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Allow CAS to add http request details into the logging's MDC filter.setMdcEnabled
(boolean mdcEnabled) Allow CAS to add http request details into the logging's MDC filter.
-
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
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
.
-