Skip to content

Commit

Permalink
Add username in courier logs (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepanshu42 committed Jan 10, 2024
1 parent 682de7b commit 40a161c
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -129,8 +129,9 @@ internal class MqttConnection(
}

val clientId: String = connectOptions.clientId
val username: String = connectOptions.username
serverUri = getServerUri()
logger.d(TAG, "clientId : $clientId serverUri $serverUri")
logger.d(TAG, "clientId : $clientId, username: $username, serverUri $serverUri")
if (mqtt == null) {
mqtt = getMqttAsyncClient(clientId, serverUri.toString())
mqtt!!.setCallback(getMqttCallback(messageReceiveListener))
Expand Down

0 comments on commit 40a161c

Please sign in to comment.