Skip to content

org.slf4j:slf4j-api 1.x on classpath breaks logging #5642

@devinrsmith

Description

@devinrsmith

#5277 introduced org.apache.iceberg:iceberg-aws-bundle into our classpath; this had the effect of implicitly including org.slf4j:slf4j-api 1.x, which was internally included in the iceberg-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 if slf4j-api 1.x is loaded.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdependenciesPull requests that update a dependency filerelease blockerA bug/behavior that puts is below the "good enough" threshold to release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions