Added debug logs for MQTT publish