Clean up of tests logging
MODIFY
conventions/src/main/kotlin/io.opentelemetry.instrumentation.javaagent-testing.gradle.kts
conventions/src/main/kotlin/io.opentelemetry.instrumentation.javaagent-testing.gradle.kts
@@ -81,7 +81,12 @@ class JavaagentTestArgumentsProvider(
// Reduce noise in assertion messages since we don't need to verify this in most tests. We check
// in smoke tests instead.
"-Dotel.javaagent.add-thread-details=false",
- "-Dotel.metrics.exporter=otlp"
+ "-Dotel.metrics.exporter=otlp",
+ //suppress a couple of verbose ClassNotFoundException stack traces logged at debug level
+ "-Dio.opentelemetry.javaagent.slf4j.simpleLogger.log.io.grpc.internal.ServerImplBuilder=INFO",
+ "-Dio.opentelemetry.javaagent.slf4j.simpleLogger.log.io.grpc.internal.ManagedChannelImplBuilder=INFO",
+ "-Dio.opentelemetry.javaagent.slf4j.simpleLogger.log.io.perfmark.PerfMark=INFO",
+ "-Dio.opentelemetry.javaagent.slf4j.simpleLogger.log.io.grpc.Context=INFO"
)
}

MODIFY
testing-common/src/main/resources/logback.xml
testing-common/src/main/resources/logback.xml
</root>
<logger name="org.testcontainers" level="WARN" />
+ <logger name="io.opentelemetry.testing.internal" level="WARN"/>
</configuration>
\ No newline at end of file

Clean up of tests logging (#4744)