This commit is contained in:
孙小云 2026-02-26 09:04:43 +08:00
parent 5985f4fa1c
commit 9df90b97c4
1 changed files with 2 additions and 2 deletions

View File

@ -158,13 +158,13 @@ public class MqttCallbackRegistry {
// 如果是 confirm realTime/data 消息打印详细日志
if (topic.contains("/control/confirm") || topic.contains("/realTime/data")) {
log.info("【MqttCallbackRegistry】处理消息: topic={}, callbackCount={}, messageBody={}",
log.info("【Machine MqttCallbackRegistry】处理消息: topic={}, callbackCount={}, messageBody={}",
topic, callbacks.size(), messageBody);
}
if (callbacks.isEmpty()) {
if (topic.contains("/control/confirm") || topic.contains("/realTime/data")) {
log.warn("MqttCallbackRegistry】没有找到匹配的回调: topic={}", topic);
log.debug("【Machine MqttCallbackRegistry】没有找到匹配的回调: topic={}", topic);
}
return;
}