Skip to content

Comments

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

Merged
elasticsearchmachine merged 6 commits intoelastic:9.1from
rjernst:logging/slf4j_bridge_9.1
Dec 29, 2025
Merged

Consistently use slf4j/log4j bridge (#139226)#139951
elasticsearchmachine merged 6 commits intoelastic:9.1from
rjernst:logging/slf4j_bridge_9.1

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:21
@rjernst rjernst added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Dec 23, 2025
@elasticsearchmachine elasticsearchmachine merged commit f121aae into elastic:9.1 Dec 29, 2025
35 checks passed
@rjernst rjernst deleted the logging/slf4j_bridge_9.1 branch December 29, 2025 19:17
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.1.10

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants