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

   
   when you using log41 config, we are printing addtional line like below. This 
change is to fix that
   
   For example, cmd ` KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)"s` 
gives
   
   ```
   -Dlog4j.configuration=file:/Users/manikumar/releases/log4j.properties
   DEPRECATED: A Log4j 1.x configuration file has been detected, which is no 
longer recommended.
   To use a Log4j 2.x configuration, please see 
https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html#Log4j2ConfigurationFormat
 for details about Log4j configuration file migration.
   You can also use the $KAFKA_HOME/config/tools-log4j2.yaml file as a starting 
point. Make sure to remove the Log4j 1.x configuration after completing the 
migration.
   [2025-04-17 11:45:24,697] INFO Registered kafka:type=kafka.Log4jController 
MBean (kafka.utils.Log4jControllerRegistration$)
   ul14bI6fSnmRYTWa6MnzOQ
   ```


-- 
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