Alonexc opened a new issue, #2975:
URL: https://github.com/apache/incubator-eventmesh/issues/2975

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Enhancement Request
   
   
![image](https://user-images.githubusercontent.com/91315508/215702297-3e21fcbe-8b11-4119-b96b-1e8c5c47d6a1.png)
   
![image](https://user-images.githubusercontent.com/91315508/215702311-4089996e-ba31-429e-9d7a-989b503638a4.png)
   located at:
   
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/metrics/tcp/EventMeshTcpMonitor.java
 line 137
   analysis and explanation:
   This method uses an SLF4J or Log4J2 logger to log a string which was 
produced through a call to String.format, where the format string passed was a 
constant string containing only simple format markers that could be directly 
handled by SLF4J or Log4J. Rather than doing logger.error(String.format("This 
%s is an error", s));do logger.error("This {} is an error", s).
   
   
   ### Describe the solution you'd like
   
   reference:
   
![image](https://user-images.githubusercontent.com/91315508/215702384-0970a87c-0049-4a57-9c0a-15824b3747ea.png)
   
![image](https://user-images.githubusercontent.com/91315508/215702411-d1b7da1c-0e23-4936-bb80-92a91948a69b.png)
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to