Flume generates log in /var/log/flume folder. The files there are growing in GBs. How to limit the file size for these logs?
under /etc/flume/conf.empty, copy the log4j.properties from it to /etc/flume/conf. Then flume and its extensions will log the way you configured in the log4j.properties.