[rabbitmq-discuss] debug logging

Michael Klishin michael.s.klishin at gmail.com
Mon Mar 10 10:33:50 GMT 2014


2014-03-10 14:00 GMT+04:00 Dmitry Andrianov <dmitry.andrianov at alertme.com>:

> What is the correct way of logging some debug information in the RabbitMQ
> server / plugins?
> At the moment I am using rabbit_log:info but I would like to lower level a
> bit so it won't get logged on production machines.
> I tried rabbit_log:debug and it compiled ok but at runtime it produces
> {error,undef,... error.
>

rabbit_log only has info, warning, and error.

RabbitMQ logging is not currently very configurable,
see log_levels in https://www.rabbitmq.com/configure.html.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140310/7966ddec/attachment.html>


More information about the rabbitmq-discuss mailing list