From 8b2754075955b7afb8fbcb385ee53ebf5f854a91 Mon Sep 17 00:00:00 2001 From: Ariel Valentin Date: Mon, 27 Oct 2025 23:48:01 -0500 Subject: [PATCH 1/3] ci: Reduce Kafka Verbosity --- .github/workflows/ci-instrumentation-with-services.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci-instrumentation-with-services.yml b/.github/workflows/ci-instrumentation-with-services.yml index ac93634b9d..a924dd37da 100644 --- a/.github/workflows/ci-instrumentation-with-services.yml +++ b/.github/workflows/ci-instrumentation-with-services.yml @@ -139,6 +139,8 @@ jobs: env: ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_TICK_TIME: 2000 + KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR + KAFKA_LOG4J_LOGGERS: "org.apache.zookeeper=ERROR,org.apache.kafka=ERROR" kafka: image: confluentinc/cp-kafka:7.9.1 ports: @@ -151,6 +153,9 @@ jobs: KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 + KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR + KAFKA_LOG4J_LOGGERS: "org.apache.zookeeper=ERROR,org.apache.kafka=ERROR,state.change.logger=ERROR,kafka.controller=ERROR" + KAFKA_TOOLS_LOG4J_LOGLEVEL: ERROR instrumentation_redis: strategy: From b2ed72f61d764ef99a2a35bcab1b1673c8c61c57 Mon Sep 17 00:00:00 2001 From: Ariel Valentin Date: Mon, 27 Oct 2025 23:58:02 -0500 Subject: [PATCH 2/3] squash: more things --- .github/workflows/ci-instrumentation-with-services.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-instrumentation-with-services.yml b/.github/workflows/ci-instrumentation-with-services.yml index a924dd37da..23147b0acc 100644 --- a/.github/workflows/ci-instrumentation-with-services.yml +++ b/.github/workflows/ci-instrumentation-with-services.yml @@ -139,8 +139,10 @@ jobs: env: ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_TICK_TIME: 2000 + CONFLUENT_SUPPORT_METRICS_ENABLE: "false" KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR KAFKA_LOG4J_LOGGERS: "org.apache.zookeeper=ERROR,org.apache.kafka=ERROR" + KAFKA_OPTS: "-Dlog4j.rootLogger=ERROR,stdout -Dkafka.logs.dir=/dev/null" kafka: image: confluentinc/cp-kafka:7.9.1 ports: @@ -153,9 +155,11 @@ jobs: KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 + CONFLUENT_SUPPORT_METRICS_ENABLE: "false" KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR KAFKA_LOG4J_LOGGERS: "org.apache.zookeeper=ERROR,org.apache.kafka=ERROR,state.change.logger=ERROR,kafka.controller=ERROR" KAFKA_TOOLS_LOG4J_LOGLEVEL: ERROR + KAFKA_OPTS: "-Dlog4j.rootLogger=ERROR,stdout -Dlog4j.logger.org.apache.zookeeper=ERROR -Dlog4j.logger.org.apache.kafka=ERROR -Dkafka.logs.dir=/dev/null" instrumentation_redis: strategy: From 4765bb2fda01cfaa0cfb07cc5d4e19ee7a80107a Mon Sep 17 00:00:00 2001 From: Ariel Valentin Date: Tue, 28 Oct 2025 00:10:24 -0500 Subject: [PATCH 3/3] squash: does this work --- .../workflows/ci-instrumentation-with-services.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-instrumentation-with-services.yml b/.github/workflows/ci-instrumentation-with-services.yml index 23147b0acc..f668063995 100644 --- a/.github/workflows/ci-instrumentation-with-services.yml +++ b/.github/workflows/ci-instrumentation-with-services.yml @@ -136,18 +136,19 @@ jobs: image: confluentinc/cp-zookeeper:latest ports: - 2181:2181 + options: >- + --log-driver=none env: ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_TICK_TIME: 2000 CONFLUENT_SUPPORT_METRICS_ENABLE: "false" - KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR - KAFKA_LOG4J_LOGGERS: "org.apache.zookeeper=ERROR,org.apache.kafka=ERROR" - KAFKA_OPTS: "-Dlog4j.rootLogger=ERROR,stdout -Dkafka.logs.dir=/dev/null" kafka: image: confluentinc/cp-kafka:7.9.1 ports: - 9092:9092 - 29092:29092 + options: >- + --log-driver=none env: KAFKA_BROKER_ID: 1 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 @@ -156,10 +157,6 @@ jobs: KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 CONFLUENT_SUPPORT_METRICS_ENABLE: "false" - KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR - KAFKA_LOG4J_LOGGERS: "org.apache.zookeeper=ERROR,org.apache.kafka=ERROR,state.change.logger=ERROR,kafka.controller=ERROR" - KAFKA_TOOLS_LOG4J_LOGLEVEL: ERROR - KAFKA_OPTS: "-Dlog4j.rootLogger=ERROR,stdout -Dlog4j.logger.org.apache.zookeeper=ERROR -Dlog4j.logger.org.apache.kafka=ERROR -Dkafka.logs.dir=/dev/null" instrumentation_redis: strategy: