Skip to content

Commit ea6159c

Browse files
committed
Revert logging back to commented-out printlns
1 parent a095b3a commit ea6159c

File tree

1 file changed

+2
-2
lines changed
  • libs/entitlement/asm-provider/src/main/java/org/elasticsearch/entitlement/instrumentation/impl

1 file changed

+2
-2
lines changed

libs/entitlement/asm-provider/src/main/java/org/elasticsearch/entitlement/instrumentation/impl/InstrumenterImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ public MethodVisitor visitMethod(int access, String name, String descriptor, Str
158158
var key = new MethodKey(className, name, Stream.of(Type.getArgumentTypes(descriptor)).map(Type::getInternalName).toList());
159159
var instrumentationMethod = checkMethods.get(key);
160160
if (instrumentationMethod != null) {
161-
logger.debug("Will instrument {}", key);
161+
// System.out.println("Will instrument method " + key);
162162
return new EntitlementMethodVisitor(Opcodes.ASM9, mv, isStatic, isCtor, descriptor, instrumentationMethod);
163163
} else {
164-
logger.trace("Will not instrument {}", key);
164+
// System.out.println("Will not instrument method " + key);
165165
}
166166
}
167167
return mv;

0 commit comments

Comments
 (0)