stevenzwu commented on PR #11001: URL: https://github.com/apache/iceberg/pull/11001#issuecomment-2308580403
right now, logging for tests is broken. it appears to affect both `main` and `apache/1.6.x` branch. ``` SLF4J(W): No SLF4J providers were found. SLF4J(W): Defaulting to no-operation (NOP) logger implementation SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details. SLF4J(W): Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier. SLF4J(W): Ignoring binding found at [jar:file:/Users/stevenwu/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-simple/1.7.36/a41f9cfe6faafb2eb83a1c7dd2d0dfd844e2a936/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J(W): See https://www.slf4j.org/codes.html#ignoredBindings for an explanation. ``` It seems that Avro `1.12.0` brings in slf4j-api dependency to 2.x which caused this issue. ``` ./gradlew -q :iceberg-core:dependencyInsight --dependency slf4j-api --configuration tRC ``` Here are some snippets from the above output ``` org.slf4j:slf4j-api:2.0.13 \--- org.apache.avro:avro:1.12.0 \--- testRuntimeClasspath org.slf4j:slf4j-api:2.0.6 -> 2.0.13 +--- org.mock-server:mockserver-client-java:5.15.0 | +--- testRuntimeClasspath | \--- org.mock-server:mockserver-netty:5.15.0 | \--- testRuntimeClasspath +--- org.mock-server:mockserver-core:5.15.0 | +--- org.mock-server:mockserver-netty:5.15.0 (*) | \--- org.mock-server:mockserver-client-java:5.15.0 (*) \--- org.mock-server:mockserver-netty:5.15.0 (*) org.slf4j:slf4j-api:2.0.9 -> 2.0.13 +--- org.eclipse.jetty:jetty-http:11.0.22 | \--- org.eclipse.jetty:jetty-server:11.0.22 | +--- testRuntimeClasspath | \--- org.eclipse.jetty:jetty-security:11.0.22 | \--- org.eclipse.jetty:jetty-servlet:11.0.22 | \--- testRuntimeClasspath ``` This PR brings the `testImplementation` dep of `slf4j-simple` to 2.x to match the `slf4j-api`. You can verify the logging break and fix by running the `TestInMemoryCatalog` and observe the log output. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org