77yang commented on a change in pull request #1313: add missing log
URL: https://github.com/apache/rocketmq/pull/1313#discussion_r305701231
 
 

 ##########
 File path: broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java
 ##########
 @@ -71,10 +71,9 @@ public static BrokerController start(BrokerController 
controller) {
             }
 
             log.info(tip);
-            System.out.printf("%s%n", tip);
             return controller;
         } catch (Throwable e) {
-            e.printStackTrace();
+            log.error("BrokerStartup fail to boot.", e);
 
 Review comment:
   @xiangwangcheng  So do we need to write both of them at the same time?  😅

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to