lizhimins commented on code in PR #5709:
URL: https://github.com/apache/rocketmq/pull/5709#discussion_r1056002967


##########
namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java:
##########
@@ -42,7 +42,8 @@
 
 public class NamesrvStartup {
 
-    private static Logger log;
+    private final static Logger LOGGER = 
LoggerFactory.getLogger(LoggerName.NAMESRV_LOGGER_NAME);
+    private final static Logger LOGGER_CONSOLE = 
LoggerFactory.getLogger(LoggerName.NAMESRV_CONSOLE_LOGGER_NAME);

Review Comment:
   keep log format may better
   
   https://docs.oracle.com/javase/specs/jls/se17/html/jls-4.html
   
   
https://stackoverflow.com/questions/1417190/should-a-static-final-logger-be-declared-in-upper-case/1417216#1417216
   
   



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to