EarthChen commented on issue #9751:
URL: https://github.com/apache/dubbo/issues/9751#issuecomment-1068819413


   > > 我们考虑一下是否在启动 server 时进行打印
   > 
   > 可以在 TripleProtocol export 的时候增加一条日志
   
   在 `ServiceConfig` 已经进行过打印。这边应该不用再添加了
   
   ```java
   // org.apache.dubbo.config.ServiceConfig#exportRemote
   
   if (logger.isInfoEnabled()) {
         if (url.getParameter(REGISTER_KEY, true)) {
             logger.info("Register dubbo service " + interfaceClass.getName() + 
" url " + url + " to registry " + registryURL.getAddress());
         } else {
             logger.info("Export dubbo service " + interfaceClass.getName() + " 
to url " + url);
         }
     }
   
   ```
   
   <img width="1306" alt="image" 
src="https://user-images.githubusercontent.com/20179425/158538787-1a49c162-f35b-4de2-af36-e525b8788814.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]



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

Reply via email to