zhaijack commented on a change in pull request #521: Issue 520: Add more http
endpoint
URL: https://github.com/apache/bookkeeper/pull/521#discussion_r141574626
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/http/ListBookiesService.java
##########
@@ -79,8 +84,10 @@ public HttpServiceResponse handle(HttpServiceRequest
request) throws Exception {
Map<String, String> output = Maps.newHashMap();
for (BookieSocketAddress b : bookies) {
output.putIfAbsent(b.toString(), printHostname ?
b.getHostName() : null);
+ LOG.debug("bookie: " + b.toString() + " hostname:" +
b.getHostName());
Review comment:
This is debug info is useful for test, and also useful for user debuging
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services