You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/10/24 08:49:19 UTC

[GitHub] [pulsar] sijie commented on a change in pull request #5364: [broker] Fix incorrect log format

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

 ##########
 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:
   we don't want to print out the full trace. we only need to the information of that example. so I think we need to revert this change back.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services