Logrotate Chef Logs


#1

I have been reading through the discussion posts but can’t get a definite answer on the right approach to rotate log files that the chef server produces. For instance, I have my rabbitmq files taking up almost a gb.

-rw-r–r-- 1 opscode opscode 389M Oct 16 19:02 rabbit@localhost-sasl.log
-rw-r–r-- 1 opscode opscode 579M Oct 31 19:22 rabbit@localhost.log

I am maxed out on my /var directory by all the other files too that chef produces.

What is the right approach to fix this?