org.slf4j:slf4j-api 1.x on classpath breaks logging #5642
Labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
release blocker
A bug/behavior that puts is below the "good enough" threshold to release.
Milestone
#5277 introduced
org.apache.iceberg:iceberg-aws-bundle
into our classpath; this had the effect of implicitly includingorg.slf4j:slf4j-api
1.x, which was internally included in theiceberg-aws-bundle.jar
(see apache/iceberg#10534).While libraries that use
slf4j-api
1.x can use 2.x, the inverse in not true https://www.slf4j.org/faq.html#compatibility. Given that DH depends on 2.x (ServiceLoader
configuration logic, https://www.slf4j.org/faq.html#changesInVersion200), we fail to configure logging correctly ifslf4j-api
1.x is loaded.The text was updated successfully, but these errors were encountered: