chore: add mgmt start listener log
This commit is contained in:
parent
31f016fa22
commit
120c2b8cdf
|
@ -62,7 +62,8 @@ start_listener({Proto, Port, Options}) ->
|
||||||
security => [#{application => []}],
|
security => [#{application => []}],
|
||||||
swagger_global_spec => GlobalSpec},
|
swagger_global_spec => GlobalSpec},
|
||||||
MinirestOptions = maps:merge(Minirest, RanchOptions),
|
MinirestOptions = maps:merge(Minirest, RanchOptions),
|
||||||
minirest:start(listener_name(Proto), MinirestOptions).
|
{ok, _} = minirest:start(listener_name(Proto), MinirestOptions),
|
||||||
|
io:format("Start ~p listener on ~p successfully.", [listener_name(Proto), Port]).
|
||||||
|
|
||||||
apps() ->
|
apps() ->
|
||||||
Apps = [App || {App, _, _} <- application:loaded_applications(),
|
Apps = [App || {App, _, _} <- application:loaded_applications(),
|
||||||
|
|
Loading…
Reference in New Issue