Package org.nuxeo.lib.stream
Class Log4jCorrelation
- java.lang.Object
-
- org.nuxeo.lib.stream.Log4jCorrelation
-
public class Log4jCorrelation extends Object
Add tracing identifier to the log4j contextMap- Since:
- 2021.16
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>
CONTEXT_KEYS
static String
SPAN_ID_CONTEXT_KEY
static String
TRACE_ID_CONTEXT_KEY
-
Constructor Summary
Constructors Constructor Description Log4jCorrelation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
end()
static void
start()
static void
start(io.opencensus.trace.Span span)
-
-
-
Field Detail
-
TRACE_ID_CONTEXT_KEY
public static final String TRACE_ID_CONTEXT_KEY
- See Also:
- Constant Field Values
-
SPAN_ID_CONTEXT_KEY
public static final String SPAN_ID_CONTEXT_KEY
- See Also:
- Constant Field Values
-
-