merlimat commented on a change in pull request #5364: [broker] Fix incorrect 
log format
URL: https://github.com/apache/pulsar/pull/5364#discussion_r334053474
 
 

 ##########
 File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/BrokerStatsBase.java
 ##########
 @@ -167,7 +167,7 @@ public LoadManagerReport getLoadReport() throws Exception {
                 throw new RestException(Status.CONFLICT, 
lm.getClass().getName() + " does not support this operation");
             }
         } catch (Exception e) {
-            log.error("Unable to get Resource Availability - [{}]", e);
+            log.error("Unable to get Resource Availability", e);
 
 Review comment:
   This was done on purpose to avoid having the same stack trace printed twice.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to