[erlang-questions] Trim Logger output

Siri Hansen erlangsiri@REDACTED
Thu Mar 14 13:37:41 CET 2019


Hi Frank,

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 http://erlang.org/doc/man/logger_formatter.html for
more details.

Regards
/siri

Den tor. 14. mar. 2019 kl. 12:39 skrev Frank Muller <
frank.muller.erl@REDACTED>:

> Hi guys
>
> Which config I should use to force Logger trim long lines of logs (ellided
> [...])?
>
> Thanks in advance
> /Frank
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190314/8a292a07/attachment.htm>


More information about the erlang-questions mailing list