Skip to content

Consistently use slf4j/log4j bridge (#139226)#139950

Merged
elasticsearchmachine merged 5 commits intoelastic:9.2from
rjernst:logging/slf4j_bridge_9.2
Dec 29, 2025
Merged

Consistently use slf4j/log4j bridge (#139226)#139950
elasticsearchmachine merged 5 commits intoelastic:9.2from
rjernst:logging/slf4j_bridge_9.2

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Dec 23, 2025

Some 3rd party dependencies use SLF4J but Elasticsearch internally uses log4j. Historically there were problems with using the log4j adapter for SLF4J, but those have gone away with the removal of SecurityManager. This commit updates uses of slf4j to consistently use the log4j bridge.

closes #137556

Some 3rd party dependencies use SLF4J but Elasticsearch internally uses
log4j. Historically there were problems with using the log4j adapter for
SLF4J, but those have gone away with the removal of SecurityManager.
This commit updates uses of slf4j to consistently use the log4j bridge.

closes elastic#137556

Co-authored-by: David Turner <david.turner@elastic.co>
@rjernst rjernst requested review from a team as code owners December 23, 2025 15:08
@rjernst rjernst added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Dec 23, 2025
@elasticsearchmachine elasticsearchmachine merged commit 2e72ae0 into elastic:9.2 Dec 29, 2025
35 checks passed
@rjernst rjernst deleted the logging/slf4j_bridge_9.2 branch December 29, 2025 22:32
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 v9.2.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments