Skip to content

Commit a3935c6

Browse files
authored
Remove okhttp debug output from smoke tests (open-telemetry#8944)
1 parent 5c9b40b commit a3935c6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

smoke-tests/src/test/java/io/opentelemetry/smoketest/AbstractTestContainerManager.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ protected Map<String, String> getAgentEnvironment(
2323
// while modern JVMs understand linux container memory limits, they do not understand windows
2424
// container memory limits yet, so we need to explicitly set max heap in order to prevent the
2525
// JVM from taking too much memory and hitting the windows container memory limit
26-
environment.put(jvmArgsEnvVarName, "-Xmx512m -javaagent:/" + TARGET_AGENT_FILENAME);
26+
environment.put(
27+
jvmArgsEnvVarName,
28+
"-Xmx512m -javaagent:/"
29+
+ TARGET_AGENT_FILENAME
30+
+ " -Dio.opentelemetry.javaagent.slf4j.simpleLogger.log.okhttp3.internal.concurrent.TaskRunner=INFO");
2731
environment.put("OTEL_BSP_MAX_EXPORT_BATCH_SIZE", "1");
2832
environment.put("OTEL_BSP_SCHEDULE_DELAY", "10ms");
2933
environment.put("OTEL_METRIC_EXPORT_INTERVAL", "1000");

0 commit comments

Comments
 (0)