It is taking huge space for kafka application logs , How to limit these logs ?
logs are coming under /var/log/kafka ,
please do not confuse with log.dires =/kafka-logs , these are kafka applicaiton logs
If you want to rotate Kafka logs (/var/log/kafka) then you can refer to the following article:
Using "RollingFileAppender" , In Ambari, UI , 'Advanced Kafka-log4j' settings within Kafka Config page:
Ambari UI >> Kafka >> Config Tab >> Advanced kafka-log4j