Skip to content

Conversation

prdoyle
Copy link
Contributor

@prdoyle prdoyle commented Jan 31, 2025

This commit forces the delegate for ES logging to always use the String version of LogManager.getLogger instead of the one taking a Class. The reason is that if a classloader is not in the hierarchy of the app classloader, the ES logging configuration will not be found. By using the String variant, the app classloader is always used.

Backport of #121250.

This commit forces the delegate for ES logging to always use the String
version of LogManager.getLogger instead of the one taking a Class. The
reason is that if a classloader is not in the hierarchy of the app
classloader, the ES logging configuration will not be found. By using
the String variant, the app classloader is always used.
@prdoyle prdoyle added >non-issue :Core/Infra/Core Core issues without another label backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) test-entitlements v9.0.1 labels Jan 31, 2025
@prdoyle prdoyle self-assigned this Jan 31, 2025
@prdoyle prdoyle requested a review from a team as a code owner January 31, 2025 15:27
@elasticsearchmachine elasticsearchmachine merged commit 7795011 into elastic:9.0 Jan 31, 2025
21 checks passed
@prdoyle prdoyle deleted the backport9.0 branch January 31, 2025 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Core/Infra/Core Core issues without another label >non-issue v9.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants