[rabbitmq-discuss] log process

Rosa, Andrea (HP Cloud Services) andrea.rosa at hp.com
Thu Apr 26 10:37:39 BST 2012


HI

Here the configuration I am using:
cat /etc/logrotate.d/rabbitmq-server

/var/log/rabbitmq/*.log {
        weekly
        missingok
        rotate 20
        compress
        delaycompress
        notifempty
        sharedscripts
        postrotate
            /etc/init.d/rabbitmq-server rotate-logs > /dev/null
        endscript
}

Thanks
--
Andrea
From: Brendan Hay [mailto:brendan at soundcloud.com]
Sent: 25 April 2012 11:53
To: Rosa, Andrea (HP Cloud Services)
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] log process

Hi Andrea,

That log entry is created by running "rabbitmqctl rotate_logs",  which is usually triggered manually or by the postrotate option of your logrotate.d configuration.

Are there any daemons/services which might have triggered that command? Or, if you are using logrotate.d could you please post the config you're using?

- Brendan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120426/c743be42/attachment.htm>


More information about the rabbitmq-discuss mailing list