feat: make log depth configurable

This commit is contained in:
Zaiming Shi 2021-05-04 12:20:56 +02:00 committed by Zaiming (Stone) Shi
parent 92d3e16d43
commit c4f070c9c6
1 changed files with 7 additions and 0 deletions

View File

@ -491,6 +491,13 @@ end}.
hidden
]}.
%% @doc Maximum depth in Erlang term log formatting
%% and message queue inspection.
{mapping, "log.max_depth", "kernel.error_logger_format_depth", [
{default, 20},
{datatype, [{enum, [unlimited]}, integer]}
]}.
%% @doc format logs in a single line.
{mapping, "log.single_line", "kernel.logger", [
{default, false},