<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-03-10 14:00 GMT+04:00 Dmitry Andrianov <span dir="ltr"><<a href="mailto:dmitry.andrianov@alertme.com" target="_blank">dmitry.andrianov@alertme.com</a>></span>:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":1d4" class="" style="overflow:hidden">What is the correct way of logging some debug information in the RabbitMQ server / plugins?<br>


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.<br>
I tried rabbit_log:debug and it compiled ok but at runtime it produces {error,undef,... error.</div></blockquote></div><br>rabbit_log only has info, warning, and error.<br><br clear="all"><div>RabbitMQ logging is not currently very configurable,</div>

<div>see log_levels inĀ <a href="https://www.rabbitmq.com/configure.html">https://www.rabbitmq.com/configure.html</a>.</div>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>

<a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div></div>