[rabbitmq-discuss] Turning off rabbit logging

Matthew Sackman matthew at lshift.net
Thu Jan 7 22:31:56 GMT 2010

On Thu, Jan 07, 2010 at 10:15:26PM +0000, Matthew Sackman wrote:
> On Thu, Jan 07, 2010 at 04:35:29PM -0500, Mark Steele wrote:
> > Is there a method to turn off rabbit's logging? I've poked around the
> > documentation (administration guide), and have come up empty handed.
> Nope. You could always just redirect the logs to /dev/null.

Actually, I've just done some more digging into this. If you put in your
SERVER_START_ARGS="-kernel error_logger silent"

then you'll not get the main log. However, it's debatable whether that
should really work. You also can't turn of the sasl log from there (for
some reason). Much better is to edit your rabbitmq-server script and
change the two lines at the bottom which look like:

    -kernel error_logger '{file,"'${RABBITMQ_LOGS}'"}' \
    -sasl sasl_error_logger '{file,"'${RABBITMQ_SASL_LOGS}'"}' \


    -kernel error_logger silent \
    -sasl sasl_error_logger false \

Then you'll get rid of both of them.


More information about the rabbitmq-discuss mailing list