Explorar el Código

chore(coap): Fix debug logs

k32 hace 4 años
padre
commit
a95b91c005
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      apps/emqx_coap/src/emqx_coap_mqtt_adapter.erl

+ 2 - 3
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
      }.
-