From a95b91c005e6494be697a636f33180644006c3ff Mon Sep 17 00:00:00 2001 From: k32 <10274441+k32@users.noreply.github.com> Date: Tue, 6 Jul 2021 18:37:49 +0200 Subject: [PATCH] chore(coap): Fix debug logs --- apps/emqx_coap/src/emqx_coap_mqtt_adapter.erl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/emqx_coap/src/emqx_coap_mqtt_adapter.erl b/apps/emqx_coap/src/emqx_coap_mqtt_adapter.erl index b93d1c640..315cfbb5c 100644 --- a/apps/emqx_coap/src/emqx_coap_mqtt_adapter.erl +++ b/apps/emqx_coap/src/emqx_coap_mqtt_adapter.erl @@ -105,8 +105,8 @@ call(Pid, Msg, _) -> %%-------------------------------------------------------------------- init({ClientId, Username, Password, Channel}) -> - ?LOG(debug, "try to start adapter ClientId=~p, Username=~p, Password=~p, " - "Channel=~0p", [ClientId, Username, Password, Channel]), + ?LOG(debug, "try to start adapter ClientId=~p, Username=~p, " + "Channel=~0p", [ClientId, Username, Channel]), State0 = #state{peername = Channel, clientid = ClientId, username = Username, @@ -384,4 +384,3 @@ clientinfo(#state{peername = {PeerHost, _}, mountpoint => undefined, ws_cookie => undefined }. -