Rename log4j 1 and 2 instrumentation to log4j1 and log4j2 respectively
MODIFY
dd-java-agent/instrumentation/log4j1/src/main/java/datadog/trace/instrumentation/log4j1/Log4j1MDCInstrumentation.java
dd-java-agent/instrumentation/log4j1/src/main/java/datadog/trace/instrumentation/log4j1/Log4j1MDCInstrumentation.java
@@ -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);

MODIFY
dd-java-agent/instrumentation/log4j2/src/main/java/datadog/trace/instrumentation/log4j2/ThreadContextInstrumentation.java
dd-java-agent/instrumentation/log4j2/src/main/java/datadog/trace/instrumentation/log4j2/ThreadContextInstrumentation.java
@@ -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);

Rename log4j 1 and 2 instrumentation to log4j1 and log4j2 respectively