Commit 2858d6a
authored
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 #1322801 parent eda59f1 commit 2858d6a
File tree
2 files changed
+1
-6
lines changed- libs/entitlement/src/main/java/org/elasticsearch/entitlement/instrumentation
2 files changed
+1
-6
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 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | 372 | | |
376 | 373 | | |
377 | 374 | | |
| |||
0 commit comments