Technoboy- opened a new issue #1740: Regularize Log print
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1740
 
 
   Background:
       Log print is not regular in all the DS module . like below :
     ```
     logger.error("start Quartz failed : " + e.getMessage(), e);
     ```
   
   Suggestion:
     We should regularize the log print, using ”{}“ instead of ”+"  : 
     ```
     # 1 
     logger.error("start Quartz failed ", e); 
     # 2  
     logger.error("delete queue : {} fail", queueId); 
     # 3
      logger.error("complete task : {} with {} ms ", taskName, takesMS); 
     ```
   We should split module or package as a group to correct the log print, like 
👍 
     1. org.apache.dolphinscheduler.api.configuration
     2. org.apache.dolphinscheduler.api.controller
     pull request should only correct log without any modification.

----------------------------------------------------------------
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