Rename log4j 1 and 2 instrumentation to log4j1 and log4j2 respectively

This commit is contained in:
Luca Abbati 2019-06-21 15:56:27 -04:00
parent f279a612f7
commit 8ee6d26d15
No known key found for this signature in database
GPG Key ID: 74DBB952D9BA17F2
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);