From feaf89d399e382b150a32ec3308bf8d8c22237b2 Mon Sep 17 00:00:00 2001 From: DDDHuang <44492639+DDDHuang@users.noreply.github.com> Date: Sun, 24 Apr 2022 10:01:38 +0800 Subject: [PATCH] fix: better gateway log --- apps/emqx_gateway/src/emqx_gateway_utils.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/emqx_gateway/src/emqx_gateway_utils.erl b/apps/emqx_gateway/src/emqx_gateway_utils.erl index 2ad5b6df4..4a0fe3695 100644 --- a/apps/emqx_gateway/src/emqx_gateway_utils.erl +++ b/apps/emqx_gateway/src/emqx_gateway_utils.erl @@ -188,7 +188,7 @@ start_listener( {ok, {ListenerId, ListenOn, Pid}}; {error, Reason} -> ?ELOG( - "Failed to start gateway ~ts:~ts:~ts on ~ts: ~0p~n", + "Gateway failed to start ~ts:~ts:~ts on ~ts: ~0p~n", [GwName, Type, LisName, ListenOnStr, Reason] ), emqx_gateway_utils:supervisor_ret({error, Reason})