maniekes opened a new pull request, #13321:
URL: https://github.com/apache/kafka/pull/13321

   kafka class runner is not working from MINGW/Git Bash on Windows:
   
   ```bash
   rafal@rafal-laptok MINGW64 /c/rafal/git/configs (master)
   $ "$KAFKA_DIR/bin/kafka-server-start.sh" server.properties
   [0.004s][error][logging] Error opening log file 
'/c/rafal/tools/kafka_2.13-3.3.2/bin/../logs/kafkaServer-gc.log': No such file 
or directory
   [0.004s][error][logging] Initialization of output 
'file=/c/rafal/tools/kafka_2.13-3.3.2/bin/../logs/kafkaServer-gc.log' using 
options 'filecount=10,filesize=100M' failed.
   Invalid -Xlog option 
'-Xlog:gc*:file=/c/rafal/tools/kafka_2.13-3.3.2/bin/../logs/kafkaServer-gc.log:time,tags:filecount=10,filesize=100M',
 see error log for details.
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   ```
   
   however it works fine when using Cygwin. what i can see it has already logic 
for changing directory separators, so to fix this issue I just added extra 
condition for MINGW. it fixed issue on my pc.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to