[rabbitmq-discuss] Inconsistent log rotation

Lionel Cons lionel.cons at cern.ch
Fri Aug 5 11:19:29 BST 2011


It seems that RabbitMQ log rotation happens in two different places:
 - in the rabbitmq-server script, using cat and RABBITMQ_BACKUP_EXTENSION
 - in the init script, using rabbitmqctl and ROTATE_SUFFIX

Is the use of two different variables really intended?

If not, I would suggest to use only one (for instance
RABBITMQ_BACKUP_EXTENSION) and to document it at
http://www.rabbitmq.com/configure.html#define-environment-variables.

If it's really intended, it then requires even more documentation ;-)

Cheers,

Lionel


More information about the rabbitmq-discuss mailing list