|
|
@@ -236,7 +236,7 @@ void CMqttClientWorker::on_success(const mqtt::token & tok)
|
|
|
info += ",token topic: '" + (*top)[0] + "', ...";
|
|
|
}
|
|
|
|
|
|
- LOG_INFO(info.c_str());
|
|
|
+ //LOG_INFO(info.c_str());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -248,7 +248,7 @@ void CMqttClientWorker::connected(const std::string & cause)
|
|
|
m_is_mqtt_connected = true;
|
|
|
|
|
|
std::string info = "Connection success, nSubscribing to topic " + m_topic + " for client " + m_client_id + " using QoS" + std::to_string(MQTT_QOS);
|
|
|
- LOG_INFO(info.c_str());
|
|
|
+ //LOG_INFO(info.c_str());
|
|
|
|
|
|
//不管是第一次连接,还是重连,都订阅一次
|
|
|
auto client = m_async_client;
|