Package org.activiti.engine.logging
Class LogMDC
- java.lang.Object
-
- org.activiti.engine.logging.LogMDC
-
public class LogMDC extends java.lang.Object
Constants and functions for MDC (Mapped Diagnostic Context) logging
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LOG_MDC_BUSINESS_KEY
static java.lang.String
LOG_MDC_EXECUTION_ID
static java.lang.String
LOG_MDC_PROCESSDEFINITION_ID
static java.lang.String
LOG_MDC_PROCESSINSTANCE_ID
static java.lang.String
LOG_MDC_TASK_ID
-
Constructor Summary
Constructors Constructor Description LogMDC()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clear()
static boolean
isMDCEnabled()
static void
putMDCExecution(ExecutionEntity e)
static void
setMDCEnabled(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()
-
-