Search code examples
ubuntuhadoopclouderaflume

Controlling the size of log file generated by flume itself


Flume generates log in /var/log/flume folder. The files there are growing in GBs. How to limit the file size for these logs?


Solution

  • 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.