[rabbitmq-discuss] Less Verbose Logging
Gavin M. Roy
gmr at myyearbook.com
Tue Nov 30 13:09:02 GMT 2010
I just want to avoid the IO penalty of all the logging and turn off
the writing of rabbit.log or limit what is going in there. I have a
set of brokers with a very high amount of connects and disconnects
using basic_publish. Ideally, the 5-10 lines of logging for each
connection and disconnection (combined) could be limited or ignored.
Thanks for the reply,
Gavin
On Tue, Nov 30, 2010 at 2:10 AM, Alvaro Videla <videlalvaro at gmail.com> wrote:
> Actually you can get the logs filtered by severity. We explain how to get
> them filtered by severity in chapter 2 of the RabbitMQ in Action book.
> Basically this is what's going on:
> RabbitMQ is logging to the 'amq.rabbitmq.log' exchange, and uses as routing
> key the severity of the error, which AFAIK are: error, warning and info.
> So you could set up some consumers to get the logs that you want.
> Regards,
> Alvaro
> On Nov 30, 2010, at 12:12 PM, Rauan Maemirov wrote:
>
> Any plans for making it tunable in future?
>
> 2010/11/30 Marek Majkowski <majek04 at gmail.com>
>>
>> No. Sorry.
>>
>> You can use `rabbitmqctl` to rotate logs more often.
>>
>> Cheers,
>> Marek
>>
>> On Mon, Nov 29, 2010 at 21:31, Gavin M. Roy <gmr at myyearbook.com> wrote:
>> > Is there a command line switch to set logging to errors only?
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
More information about the rabbitmq-discuss
mailing list