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

   Fix log prompt error, when running `bin/windows/kafka-storage.bat 
random-uuid`, there will be a prompt "main ERROR Reconfigure failed: No 
configuration found for '24d46ca6' at 'null' in 'null'".
   
   1. In the case of using delayed binding in the script, the execution result 
of `findstr` is not reflected in `%ERRORLEVEL%`, so it is changed to `! 
ERRORLEVEL!`. 
   2. Change the `config/tool-log4j2.yaml` in the prompt to 
`config/tools-log4j2.yaml` based on the actual file.
   3. By default, if KAFKA_LOG4_OPTS is set to - DLlog4j2. 
configurationFile=file:%BASE-DIR%/config/tools-log4j2.yaml 
   It will output 'main ERROR Reconfigure failed: No configuration found for' 
24d46ca6 'at' null 'in' null ''.If the `file:` prefix is removed, it can be 
fixed


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to