Skip to content

Commit

Permalink
MINOR: Fix windows startup scripts to use connect-log4j.properties in…
Browse files Browse the repository at this point in the history
…stead of tools-log4j.properties (#10034)

Co-authored-by: Scott Sugar <[email protected]>

Reviewers: Konstantine Karantasis <[email protected]>
  • Loading branch information
a0x8o committed Feb 3, 2021
1 parent 9cdc329 commit 7163828
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/windows/connect-distributed.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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 %*
Expand Down
2 changes: 1 addition & 1 deletion bin/windows/connect-standalone.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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 %*
Expand Down

0 comments on commit 7163828

Please sign in to comment.