Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

how to limit kafka applicaiton logs

how to limit kafka applicaiton logs

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

1 REPLY 1

Re: how to limit kafka applicaiton logs

Super Mentor

@Anurag Mishra

If you want to rotate Kafka logs (/var/log/kafka) then you can refer to the following article:

https://community.hortonworks.com/content/supportkb/49706/kafka-log-file-rotation-based-on-file-size...

Using "RollingFileAppender" , In Ambari, UI , 'Advanced Kafka-log4j' settings within Kafka Config page:

Ambari UI >> Kafka >> Config Tab >> Advanced kafka-log4j

.