Skip to content

Commit

Permalink
Change log level to debug (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattisonchao authored Jul 25, 2023
1 parent a440913 commit 726f526
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ public CompletableFuture<Void> publish(Connection connection, MqttAdapterMessage
}).exceptionally(ex -> {
Throwable realCause = FutureUtil.unwrapCompletionException(ex);
if (realCause instanceof MQTTNoMatchingSubscriberException) {
log.warn("[{}] Write {} to Pulsar topic succeed. But do not have subscriber.", topic, msg);
if (log.isDebugEnabled()) {
log.debug("[{}] Write {} to Pulsar topic succeed. But do not have subscriber.", topic, msg);
}
MqttAck mqttAck = MqttPubAck.successBuilder(protocolVersion)
.packetId(packetId)
.isNoMatchingSubscription()
Expand Down

0 comments on commit 726f526

Please sign in to comment.