Commit aaeb36034e2a74c26a4e7602cf01ca5cfc774654

Authored by Wiebe Cazemier
1 parent ac3a130a

Use full client repr string on successful login

Showing 1 changed file with 1 additions and 1 deletions
mqttpacket.cpp
... ... @@ -327,7 +327,7 @@ void MqttPacket::handleConnect()
327 327 ConnAck connAck(ConnAckReturnCodes::Accepted, sessionPresent);
328 328 MqttPacket response(connAck);
329 329 sender->writeMqttPacket(response);
330   - logger->logf(LOG_NOTICE, "User '%s' logged in successfully", username.c_str());
  330 + logger->logf(LOG_NOTICE, "Client '%s' logged in successfully", sender->repr().c_str());
331 331 }
332 332 else
333 333 {
... ...