I am using Kafka producer client and i don\'t have any log4j configuration in my project.
On running, the program prints a lot of Kafka Debug logs which i really don\'t
I assumed you were talking about Kafka server logs. You can change log level to ERROR using following config
log4j.logger.kafka=ERROR, kafkaAppender
Hope this helps!