Skip to content

Conversation

mosche
Copy link
Contributor

@mosche mosche commented Oct 8, 2025

Remove trace logger in Transformer on the default path when a class doesn't need to be transformed.

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

mosche added 2 commits October 8, 2025 08:28
…'t need to be transformed.

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 elastic#132280
@mosche mosche requested a review from rjernst October 8, 2025 06:30
@mosche mosche requested a review from a team as a code owner October 8, 2025 06:30
@mosche mosche added >non-issue :Core/Infra/Entitlements Entitlements infrastructure labels Oct 8, 2025
@elasticsearchmachine elasticsearchmachine added v9.3.0 Team:Core/Infra Meta label for core/infra team labels Oct 8, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mosche mosche merged commit 2858d6a into elastic:main Oct 8, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Entitlements Entitlements infrastructure >non-issue Team:Core/Infra Meta label for core/infra team v9.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] JULBridgeTests testThrowable failing
3 participants