From aea1e80290e7e580191aafd5cb2e74806ca51a8f Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Fri, 22 Sep 2023 14:11:56 +0200 Subject: [PATCH] feat: add 'format' as alias for log 'formatter' --- apps/emqx_conf/src/emqx_conf_schema.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/emqx_conf/src/emqx_conf_schema.erl b/apps/emqx_conf/src/emqx_conf_schema.erl index f1bfc3d31..ea134a3be 100644 --- a/apps/emqx_conf/src/emqx_conf_schema.erl +++ b/apps/emqx_conf/src/emqx_conf_schema.erl @@ -1303,6 +1303,7 @@ log_handler_common_confs(Handler, Default) -> sc( hoconsc:enum([text, json]), #{ + aliases => [format], default => maps:get(formatter, Default, text), desc => ?DESC("common_handler_formatter"), importance => ?IMPORTANCE_MEDIUM