Remove method that was  copied and pasted from slf4j instrumentation  but seems not to be relevant here
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
@@ -36,18 +36,6 @@ public class ThreadContextInstrumentation extends Instrumenter.Default {
return named("org.apache.logging.log4j.ThreadContext");
}
- @Override
- public void postMatch(
- final TypeDescription typeDescription,
- final ClassLoader classLoader,
- final JavaModule module,
- final Class<?> classBeingRedefined,
- final ProtectionDomain protectionDomain) {
- if (classBeingRedefined != null) {
- ThreadContextAdvice.mdcClassInitialized(classBeingRedefined);
- }
- }
-
@Override
public Map<? extends ElementMatcher<? super MethodDescription>, String> transformers() {
return singletonMap(isTypeInitializer(), ThreadContextAdvice.class.getName());

Remove method that was  copied and pasted from slf4j instrumentation  but seems not to be relevant here