Rename log4j 1 and 2 instrumentation to log4j1 and log4j2 respectively
This commit is contained in:
parent
f279a612f7
commit
8ee6d26d15
|
@ -18,7 +18,7 @@ import net.bytebuddy.matcher.ElementMatcher;
|
|||
|
||||
@AutoService(Instrumenter.class)
|
||||
public class Log4j1MDCInstrumentation extends Instrumenter.Default {
|
||||
public static final String MDC_INSTRUMENTATION_NAME = "log4j-mdc";
|
||||
public static final String MDC_INSTRUMENTATION_NAME = "log4j1";
|
||||
|
||||
public Log4j1MDCInstrumentation() {
|
||||
super(MDC_INSTRUMENTATION_NAME);
|
||||
|
|
|
@ -18,7 +18,7 @@ import net.bytebuddy.matcher.ElementMatcher;
|
|||
|
||||
@AutoService(Instrumenter.class)
|
||||
public class ThreadContextInstrumentation extends Instrumenter.Default {
|
||||
public static final String MDC_INSTRUMENTATION_NAME = "log4j-thread-context";
|
||||
public static final String MDC_INSTRUMENTATION_NAME = "log4j";
|
||||
|
||||
public ThreadContextInstrumentation() {
|
||||
super(MDC_INSTRUMENTATION_NAME);
|
||||
|
|
Loading…
Reference in New Issue