 
       String uidStr = "";
       for (int i = 0; i < uid.size; i++) {
-        if (i) uidStr += "-";
+        if (i) uidStr += " - ";
         uidStr += String(uid.uidByte[i], DEC);
       };
       client.publish(rfid_topic, uidStr.c_str());
-      client.publish(log_topic, uidStr.c_str());
+
+      char msg[256];
+      snprintf(msg, sizeof(msg), "[%s] Tag <%s> (len=%d) swiped", pname, uidStr.c_str(), uid.size);
+      client.publish(log_topic, msg);
     } else {
       Serial.println("Misread.");
       cnt_misreads++;

  switch (doorstate) {
    case OPENING:
      if (!is_moving) {
        const char msg[] = "Door is open.";
        Serial.println(msg);
        client.publish(log_topic, msg);
        doorstate = OPEN;

    return;
  };

  snprintf(buff, sizeof(buff), "[%s] Cannot parse reply <%s> [len = %d, payload len = %d] or denied access.",
           pname, buff, l, length);

  client.publish(log_topic, buff);
  Serial.println(buff);
