[rabbitmq-discuss] log rotate

Matthias Radestock matthias at rabbitmq.com
Sun Jan 13 16:11:39 GMT 2013


On 11/01/13 16:36, Prabodh Upreti wrote:
> I am sure this has been asked before. What is the best way to manage
> rabbitmq log rotation: linux logrotate
> or rabbitmqctl rotate_logs .  I need to rotate log files every day and then
> zip it end of month. thx.

'rabbitmqctl rotate_logs' is designed with invocation from logrotate in 
mind. The RabbitMQ server .deb and rpm packages ship with a logrotate 
configuration. See the end of 
http://www.rabbitmq.com/install-debian.html#managing-unix and 
http://www.rabbitmq.com/install-rpm.html#managing-unix.

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list