<div><div dir="auto">Hi Siri</div></div><div dir="auto"><br></div><div dir="auto">Exactly what I want. Any real example usage with good default settings please?</div><div dir="auto"><br></div><div dir="auto">I want to trim my strings to 1KB.</div><div dir="auto"><br></div><div dir="auto">/Frank</div><div dir="auto"><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Frank,<div><br></div><div>The default formatter, logger_formatter, has three configuration parameters for this purpose: depth, chars_limit, and max_size. depth and chars_limit are soft limits that work on format strings, and max_size is a hard truncation limit. SeeĀ <a href="http://erlang.org/doc/man/logger_formatter.html" target="_blank">http://erlang.org/doc/man/logger_formatter.html</a> for more details.</div><div><br></div><div>Regards</div><div>/siri</div></div></div><br><div class="gmail_quote"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den tor. 14. mar. 2019 kl. 12:39 skrev Frank Muller <<a href="mailto:frank.muller.erl@gmail.com" target="_blank">frank.muller.erl@gmail.com</a>>:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi guys</div><div dir="auto"><br></div><div dir="auto">Which config I should use to force Logger trim long lines of logs (ellided [...])?</div><div dir="auto"><br></div><div dir="auto">Thanks in advanceĀ </div><div dir="auto">/Frank</div></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>
</blockquote></div></div>