Merge pull request #447 from DataDog/mar-kolya/fix-muzzle-log

Make Muzzle log class being instrumented
This commit is contained in:
Nikolay Martynov 2018-08-16 17:57:26 -04:00 committed by GitHub
commit 91c84e7880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ public interface Instrumenter {
log.debug(
"Instrumentation muzzled: {} -- {} on {}",
instrumentationPrimaryName,
getClass().getName(),
Instrumenter.Default.this.getClass().getName(),
classLoader);
for (final Reference.Mismatch mismatch : mismatches) {
log.debug("-- {}", mismatch);
@ -150,7 +150,7 @@ public interface Instrumenter {
log.debug(
"Applying instrumentation: {} -- {} on {}",
instrumentationPrimaryName,
getClass().getName(),
Instrumenter.Default.this.getClass().getName(),
classLoader);
}
return mismatches.size() == 0;