Explorar o código

chore: refine console printout about quic not started

Zaiming (Stone) Shi %!s(int64=4) %!d(string=hai) anos
pai
achega
08d1b38bbe
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      apps/emqx/src/emqx_listeners.erl

+ 2 - 2
apps/emqx/src/emqx_listeners.erl

@@ -148,8 +148,8 @@ start_listener(Type, ListenerName, #{bind := Bind} = Conf) ->
     case do_start_listener(Type, ListenerName, Conf) of
         {ok, {skipped, Reason}} when Reason =:= listener_disabled;
                                      Reason =:= quic_app_missing ->
-            console_print("- Skip - starting listener ~ts on ~ts ~n due to ~p",
-                          [listener_id(Type, ListenerName), format_addr(Bind), Reason]);
+            console_print("Listener ~ts is NOT started due to: ~p~n.",
+                          [listener_id(Type, ListenerName), Reason]);
         {ok, _} ->
             console_print("Listener ~ts on ~ts started.~n",
                 [listener_id(Type, ListenerName), format_addr(Bind)]);