fix(logger): change default value of log.max_depth to 100
The value 20 is too small to inspect some error messages, especially when it contains stack traces.
This commit is contained in:
parent
31a1942b61
commit
d2d42ed33e
|
@ -443,8 +443,8 @@ log.file = emqx.log
|
||||||
## and Erlang process message queue inspection.
|
## and Erlang process message queue inspection.
|
||||||
##
|
##
|
||||||
## Value: Integer or 'unlimited' (without quotes)
|
## Value: Integer or 'unlimited' (without quotes)
|
||||||
## Default: 20
|
## Default: 100
|
||||||
#log.max_depth = 20
|
#log.max_depth = 100
|
||||||
|
|
||||||
## Log formatter
|
## Log formatter
|
||||||
## Value: text | json
|
## Value: text | json
|
||||||
|
|
|
@ -496,7 +496,7 @@ end}.
|
||||||
%% @doc Maximum depth in Erlang term log formatting
|
%% @doc Maximum depth in Erlang term log formatting
|
||||||
%% and message queue inspection.
|
%% and message queue inspection.
|
||||||
{mapping, "log.max_depth", "kernel.error_logger_format_depth", [
|
{mapping, "log.max_depth", "kernel.error_logger_format_depth", [
|
||||||
{default, 20},
|
{default, 100},
|
||||||
{datatype, [{enum, [unlimited]}, integer]}
|
{datatype, [{enum, [unlimited]}, integer]}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue