Browse Source

MINOR: Fix windows startup scripts to use connect-log4j.properties instead of tools-log4j.properties (#10034)

Co-authored-by: Scott Sugar <ssugar@proserveit.com>

Reviewers: Konstantine Karantasis <k.karantasis@gmail.com>
pull/10044/head
ssugar 4 years ago committed by GitHub
parent
commit
70404baffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      bin/windows/connect-distributed.bat
  2. 2
      bin/windows/connect-standalone.bat

2
bin/windows/connect-distributed.bat

@ -27,7 +27,7 @@ popd @@ -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 %*

2
bin/windows/connect-standalone.bat

@ -27,7 +27,7 @@ popd @@ -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 %*

Loading…
Cancel
Save