Erlang Mailing Lists

Author Message

<  RabbitMQ mailing list  ~  Turning off rabbit logging

Guest
Posted: Thu Jan 07, 2010 9:37 pm Reply with quote
Guest
Is there a method to turn off rabbit's logging? I've poked around the documentation (administration guide), and have come up empty handed.
--
Mark Steele
Director of development
Bering Media Inc.


Post received from mailinglist
Guest
Posted: Thu Jan 07, 2010 10:16 pm Reply with quote
Guest
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.

Matthew

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Thu Jan 07, 2010 10:33 pm Reply with quote
Guest
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
/etc/rabbitmq/rabbitmq.conf
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}'"}' \

to

-kernel error_logger silent \
-sasl sasl_error_logger false \

Then you'll get rid of both of them.

Matthew

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
timrila
Posted: Tue Jun 12, 2012 7:21 am Reply with quote
User Joined: 28 Mar 2012 Posts: 32
I think your artical is very useful in work and life, I will pay more attention to your blog. Hope that you could post new artical in future.
Soccer Jerseys
Spain Soccer Jersey
Germany Soccer Jersey
Real Madrid Shirt
Soccer Shirts
Real Madrid Jersey
Custom Soccer Jersey
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum