[rabbitmq-discuss] Plugin startup behavior issue

Simon MacMullen simon at rabbitmq.com
Tue Jun 17 08:37:32 BST 2014


On 17/06/2014 04:47, Gavin M. Roy wrote:
> If you start a fresh RabbitMQ install with an empty database and the
> plugin enabled, it will exit due to a no_such_vhost error for <<“/“>> in
> the rabbit_error_log module start/0. Logs:

So the issue you have there is that rabbit_log does not work early in 
the boot process (before recovery) since it tries to log to an 
amq.rabbitmq.log exchange which is not there.

You need to use error_logger directly for log messages early in the boot 
process.

Cheers, Simon



More information about the rabbitmq-discuss mailing list