Merge pull request #5177 from k32/k32/dev/fix-coap-debug

chore(coap): Fix debug logs
This commit is contained in:
k32 2021-07-06 23:12:26 +02:00 committed by GitHub
commit 101103e7de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -105,8 +105,8 @@ call(Pid, Msg, _) ->
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
init({ClientId, Username, Password, Channel}) -> init({ClientId, Username, Password, Channel}) ->
?LOG(debug, "try to start adapter ClientId=~p, Username=~p, Password=~p, " ?LOG(debug, "try to start adapter ClientId=~p, Username=~p, "
"Channel=~0p", [ClientId, Username, Password, Channel]), "Channel=~0p", [ClientId, Username, Channel]),
State0 = #state{peername = Channel, State0 = #state{peername = Channel,
clientid = ClientId, clientid = ClientId,
username = Username, username = Username,
@ -384,4 +384,3 @@ clientinfo(#state{peername = {PeerHost, _},
mountpoint => undefined, mountpoint => undefined,
ws_cookie => undefined ws_cookie => undefined
}. }.