Package org.activiti.engine.logging
Class LogMDC
- java.lang.Object
-
- org.activiti.engine.logging.LogMDC
-
public class LogMDC extends java.lang.ObjectConstants and functions for MDC (Mapped Diagnostic Context) logging
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringLOG_MDC_BUSINESS_KEYstatic java.lang.StringLOG_MDC_EXECUTION_IDstatic java.lang.StringLOG_MDC_PROCESSDEFINITION_IDstatic java.lang.StringLOG_MDC_PROCESSINSTANCE_IDstatic java.lang.StringLOG_MDC_TASK_ID
-
Constructor Summary
Constructors Constructor Description LogMDC()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclear()static booleanisMDCEnabled()static voidputMDCExecution(ExecutionEntity e)static voidsetMDCEnabled(boolean b)
-
-
-
Field Detail
-
LOG_MDC_PROCESSDEFINITION_ID
public static final java.lang.String LOG_MDC_PROCESSDEFINITION_ID
- See Also:
- Constant Field Values
-
LOG_MDC_EXECUTION_ID
public static final java.lang.String LOG_MDC_EXECUTION_ID
- See Also:
- Constant Field Values
-
LOG_MDC_PROCESSINSTANCE_ID
public static final java.lang.String LOG_MDC_PROCESSINSTANCE_ID
- See Also:
- Constant Field Values
-
LOG_MDC_BUSINESS_KEY
public static final java.lang.String LOG_MDC_BUSINESS_KEY
- See Also:
- Constant Field Values
-
LOG_MDC_TASK_ID
public static final java.lang.String LOG_MDC_TASK_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
isMDCEnabled
public static boolean isMDCEnabled()
-
setMDCEnabled
public static void setMDCEnabled(boolean b)
-
putMDCExecution
public static void putMDCExecution(ExecutionEntity e)
-
clear
public static void clear()
-
-