Commit f503387
committed
Remove trace logger in Transformer on default path when a class doesn't need to be transformed. (#136152)
This trace log badly interfered with entitlements in tests. When a class (eg Regex, used by the test mock logger in the case of JULBridgeTests) is loaded as a result of logging, tracing logging that in the Transformer causes a recursive call to the logging appender.
Fixes #132280
(cherry picked from commit 2858d6a)
# Conflicts:
# muted-tests.yml1 parent 84a31a9 commit f503387
File tree
1 file changed
+1
-3
lines changed- libs/entitlement/src/main/java/org/elasticsearch/entitlement/instrumentation
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 65 | | |
| 66 | + | |
69 | 67 | | |
70 | 68 | | |
0 commit comments