diff --git a/etc/emqx.conf b/etc/emqx.conf index 8f77d5f1b..6043dc361 100644 --- a/etc/emqx.conf +++ b/etc/emqx.conf @@ -443,8 +443,8 @@ log.file = emqx.log ## and Erlang process message queue inspection. ## ## Value: Integer or 'unlimited' (without quotes) -## Default: 20 -#log.max_depth = 20 +## Default: 100 +#log.max_depth = 100 ## Log formatter ## Value: text | json diff --git a/priv/emqx.schema b/priv/emqx.schema index 142a9acf4..86a2a2892 100644 --- a/priv/emqx.schema +++ b/priv/emqx.schema @@ -496,7 +496,7 @@ end}. %% @doc Maximum depth in Erlang term log formatting %% and message queue inspection. {mapping, "log.max_depth", "kernel.error_logger_format_depth", [ - {default, 20}, + {default, 100}, {datatype, [{enum, [unlimited]}, integer]} ]}.