Skip to content

Commit 10ca808

Browse files
Technoboy-lhotari
authored andcommitted
[improve][broker] Add log to track issue when handleGetTopicsOfNamespace (apache#23434)
(cherry picked from commit 33475ec)
1 parent fc78357 commit 10ca808

File tree

1 file changed

+2
-2
lines changed
  • pulsar-broker/src/main/java/org/apache/pulsar/broker/service

1 file changed

+2
-2
lines changed

pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2509,8 +2509,8 @@ protected void handleGetTopicsOfNamespace(CommandGetTopicsOfNamespace commandGet
25092509
filterTopics = true;
25102510
filteredTopics = TopicList.filterTopics(filteredTopics, topicsPattern.get());
25112511
} else {
2512-
log.info("[{}] Subscription pattern provided was longer than maximum {}.",
2513-
remoteAddress, maxSubscriptionPatternLength);
2512+
log.info("[{}] Subscription pattern provided [{}] was longer than maximum {}.",
2513+
remoteAddress, topicsPattern.get(), maxSubscriptionPatternLength);
25142514
}
25152515
}
25162516
String hash = TopicList.calculateHash(filteredTopics);

0 commit comments

Comments
 (0)