<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>According to the Erlang docs you can disable both SASL and rabbit logs by passing the following parameters to the rabbitmq-server init script:</div><div><br></div><div>sbin/rabbitmq-server -kernel error_logger silent -sasl sasl_error_logger false</div><div><br></div><div>More docs on the topic here:&nbsp;</div><div><br></div><div>SASL Logs: <a href="http://www.erlang.org/doc/man/sasl_app.html">http://www.erlang.org/doc/man/sasl_app.html</a></div><div>Erlang Kernel Docs:&nbsp;<a href="http://www.erlang.org/doc/man/kernel_app.html">http://www.erlang.org/doc/man/kernel_app.html</a></div><div><br></div><div>Regarding specifying those parameters in a config file, that's possible too.</div><div><br></div><div>You can add them to this file for example:&nbsp;<a href="http://www.rabbitmq.com/configure.html#config-file">http://www.rabbitmq.com/configure.html#config-file</a></div><div><br></div><div>So there you could add an entry like this:</div><div><br></div><div><div>{sasl, [</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>{sasl_error_logger, false}</div><div>]}</div></div><div><br></div><div>For the SASL logs</div><div><br></div><div>And another one like:</div><div><br></div><div>{kernel [</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>{error_logger, silent}</div><div>]}</div><div><br></div><div>The problem with this approach is that the command line arguments passed inside the rabbitmq-server script will override what you put on those .config files, as explained here:&nbsp;<a href="http://www.erlang.org/doc/man/config.html">http://www.erlang.org/doc/man/config.html</a></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; "><br></span></div><div><span class="Apple-style-span" style="white-space: pre;">"</span><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; ">Configuration parameter values in the configuration file will override the values in the application resource files (see&nbsp;</span><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; "><span class="code" style="font-family: courier; font-weight: normal; ">app(4)</span></span><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; ">). The values in the configuration file can be overridden by command line flags (see&nbsp;</span><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; "><span class="code" style="font-family: courier; font-weight: normal; ">erl(1)</span></span><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; ">)."</span></div><div><br></div><div>&nbsp;I think some tweaking of the rabbitmq-server script will do to solve this problem, specifically this lines:</div><div><br></div><div><div>&nbsp;&nbsp; &nbsp;-sasl errlog_type error \</div><div>&nbsp;&nbsp; &nbsp;-kernel error_logger '{file,"'${RABBITMQ_LOGS}'"}' \</div><div>&nbsp;&nbsp; &nbsp;-sasl sasl_error_logger '{file,"'${RABBITMQ_SASL_LOGS}'"}' \</div></div><div><br></div><div>Hope this helps,</div><div><br></div><div>Alvaro</div><div><br><div><div>On Jun 23, 2011, at 4:47 PM, Cal Leeming [Simplicity Media Ltd] wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Alright great :) Thanks for the advice on how to resolve the problem in the mean time.<div><br></div><div>Ironically, it's actually a good thing that this happened, because it's notified me of a 'looping' bug in my code (in a round abouts way), which caused a DoS :)</div>
<div><br></div><div>Cal</div><div><br><div class="gmail_quote">On Thu, Jun 23, 2011 at 3:43 PM, Matthew Sackman <span dir="ltr">&lt;<a href="mailto:matthew@rabbitmq.com">matthew@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Jun 23, 2011 at 03:40:59PM +0100, Cal Leeming [Simplicity Media Ltd] wrote:<br>
&gt; Hmm, are there any plans to make this easier for a user to change via the<br>
&gt; config?? Almost every other daemon I know has support for this, so it makes<br>
&gt; RabbitMQ terribly unfriendly :(<br>
<br>
</div>Yes, we have been thinking about this on and off for quite some time.<br>
I'm not sure what the current plans are wrt this, but you're not the<br>
first person to point out this problem, and we do have a bug open to<br>
look at sorting this out.<br>
<div><div></div><div class="h5"><br>
Matthew<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div>
_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br></blockquote></div><br><div>
<div>Sent form my Nokia 1100</div><div><br></div><br class="Apple-interchange-newline">
</div>
<br></div></body></html>