Browse Source

删除一些日志

张洋 6 days ago
parent
commit
9a4342005f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      zhipuzi_pos_windows/worker/CMqttClientWorker.cpp

+ 2 - 2
zhipuzi_pos_windows/worker/CMqttClientWorker.cpp

@@ -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;