Find answers to your technical questions and learn how to use our products
Search suggestions:
The log files that are generated by the running Kafka server consume the disk space of the POM server.
Edit the log4j properties file to control the generation of Kafka logs.
log4j.appender.<Appender>=org.apache.log4j.RollingFileAppender
For example, log4j.appender.kafkaAppender=org.apache.log4j.RollingFileAppender
log4j.appender.<Appender>MaxFileSize =100MB
For example, log4j.appender.kafkaAppender.MaxFileSize=100MB
log4j.appender.<Appender>.MaxBackupIndex =5
For example, log4j.appender.kafkaAppender.MaxBackupIndex=5
This enables the POM server to store maximum 5 Kafka log files. Each file consumes a disk space of 100 MB only.
Previous Topic
Next Topic