From 71638286fe51dfe6501fdd2787368d93942c43fd Mon Sep 17 00:00:00 2001 From: Alex Barreto Date: Wed, 3 Feb 2021 14:09:23 -0600 Subject: [PATCH] MINOR: Fix windows startup scripts to use connect-log4j.properties instead of tools-log4j.properties (#10034) Co-authored-by: Scott Sugar Reviewers: Konstantine Karantasis --- bin/windows/connect-distributed.bat | 2 +- bin/windows/connect-standalone.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/windows/connect-distributed.bat b/bin/windows/connect-distributed.bat index aaa3c419a7..0535085bde 100644 --- a/bin/windows/connect-distributed.bat +++ b/bin/windows/connect-distributed.bat @@ -27,7 +27,7 @@ popd rem Log4j settings IF ["%KAFKA_LOG4J_OPTS%"] EQU [""] ( - set KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%BASE_DIR%/config/tools-log4j.properties + set KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%BASE_DIR%/config/connect-log4j.properties ) "%~dp0kafka-run-class.bat" org.apache.kafka.connect.cli.ConnectDistributed %* diff --git a/bin/windows/connect-standalone.bat b/bin/windows/connect-standalone.bat index 54cc11faae..12ebb21dc9 100644 --- a/bin/windows/connect-standalone.bat +++ b/bin/windows/connect-standalone.bat @@ -27,7 +27,7 @@ popd rem Log4j settings IF ["%KAFKA_LOG4J_OPTS%"] EQU [""] ( - set KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%BASE_DIR%/config/tools-log4j.properties + set KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%BASE_DIR%/config/connect-log4j.properties ) "%~dp0kafka-run-class.bat" org.apache.kafka.connect.cli.ConnectStandalone %*