From bb76bb054bb8166ac6f2896c76278d8938a1ca21 Mon Sep 17 00:00:00 2001 From: Jiwei Guo Date: Mon, 14 Oct 2024 19:19:05 +0800 Subject: [PATCH] [improve][broker] Add log to track issue when `handleGetTopicsOfNamespace` (#23434) (cherry picked from commit 33475ec456ad4f297d8c77bd33b76db38bc80cef) (cherry picked from commit 26f4a400c0582ad5a78a097363729a52197767fa) --- .../main/java/org/apache/pulsar/broker/service/ServerCnx.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java index 2956e54408920..69b64984033f6 100644 --- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java +++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java @@ -2399,8 +2399,8 @@ protected void handleGetTopicsOfNamespace(CommandGetTopicsOfNamespace commandGet filterTopics = true; filteredTopics = TopicList.filterTopics(filteredTopics, topicsPattern.get()); } else { - log.info("[{}] Subscription pattern provided was longer than maximum {}.", - remoteAddress, maxSubscriptionPatternLength); + log.info("[{}] Subscription pattern provided [{}] was longer than maximum {}.", + remoteAddress, topicsPattern.get(), maxSubscriptionPatternLength); } } String hash = TopicList.calculateHash(filteredTopics);