yhs0092 opened a new issue #2439:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2439


   The key code line is at
   
https://github.com/apache/servicecomb-java-chassis/blob/a063df553aaa0cbdefce4c7f5aaeabba7cc1d466/metrics/metrics-core/src/test/java/org/apache/servicecomb/metrics/core/TestVertxMetersInitializer.java#L169
   
   in the end of this line, the port number is filled into a place holder 
`%-5s`, which means if the port number is 4-digit, there will be a space at the 
end. But if a microservice instance is actually assigned a 4-digit portnumber, 
the metrics log will only write the port number without any unnecessary space 
character.
   
   Here is my error log when I run `mvn clean install -Pit`:
   
![图片](https://user-images.githubusercontent.com/22049770/123731312-7dc52e80-d8ca-11eb-8c22-535833299393.png)
   


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