<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">If you wanted, there is a logger here
which drops messages if the source process log frequency hits
every 10 microseconds within a 10 second window. That prevents a
misbehaving process from causing excessive logging, such that the
misbehaving process is ignored during the rest of the 10 second
window.<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/okeuday/CloudI/blob/master/src/lib/cloudi_core/src/cloudi_logger.erl">https://github.com/okeuday/CloudI/blob/master/src/lib/cloudi_core/src/cloudi_logger.erl</a><br>
<br>
On 06/17/2013 01:17 AM, Park, Sungjin wrote:<br>
</div>
<blockquote
cite="mid:CAP6n5fAjRYDfW3kk=dfm8L9gUWAjXQNurwdxKn54eMtJSW1LBw@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">I badly want that feature though...
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Jun 14, 2013 at 2:43 AM, Andrew
Thompson <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:andrew@hijacked.us" target="_blank">andrew@hijacked.us</a>></span>
wrote:<br>
<blockquote class="gmail_quote">
<div class="im">On Wed, Jun 12, 2013 at 10:12:46AM +0900,
Park, Sungjin wrote:<br>
> I want it never fall to sync mode.<br>
> Just dropping some logs is ok.<br>
<br>
</div>
Right now, for anything other than error_logger messages,
lager will not<br>
drop any messages, ever. The sync/async modes are just for
mailbox size<br>
regulation.<br>
<span class="HOEnZb"><br>
Andrew<br>
</span></blockquote>
</div>
<br>
<br>
<div><br>
</div>
-- <br>
Park, Sungjin
<div>-------------------------------------------------------------------------------------------------------------------</div>
<div>Peculiar travel suggestions are dancing lessons from god.</div>
<div> -- The Books of Bokonon</div>
<div>-------------------------------------------------------------------------------------------------------------------</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
</body>
</html>