mirror of https://github.com/apache/kafka.git
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>
This commit is contained in:
parent
3acc193853
commit
70404baffa
|
@ -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 %*
|
||||
|
|
|
@ -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…
Reference in New Issue