This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new caca8a19e [#4685] Print the framework version when updating the 
service information (#4686)
caca8a19e is described below

commit caca8a19ea21f376feaa30b914ef3ec8e5383fbc
Author: Alex <[email protected]>
AuthorDate: Fri Jan 24 09:04:59 2025 +0800

    [#4685] Print the framework version when updating the service information 
(#4686)
---
 .../service/center/client/ServiceCenterRegistration.java          | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/clients/service-center-client/src/main/java/org/apache/servicecomb/service/center/client/ServiceCenterRegistration.java
 
b/clients/service-center-client/src/main/java/org/apache/servicecomb/service/center/client/ServiceCenterRegistration.java
index 0f24d985d..07d833758 100644
--- 
a/clients/service-center-client/src/main/java/org/apache/servicecomb/service/center/client/ServiceCenterRegistration.java
+++ 
b/clients/service-center-client/src/main/java/org/apache/servicecomb/service/center/client/ServiceCenterRegistration.java
@@ -150,11 +150,11 @@ public class ServiceCenterRegistration extends 
AbstractTask {
           if 
(serviceCenterClient.updateMicroserviceProperties(serviceResponse.getServiceId(),
               microservice.getProperties(), microservice.getFramework())) {
             LOGGER.info(
-                "microservice is already registered. Update microservice 
properties successfully. properties=[{}]",
-                microservice.getProperties());
+                "microservice is already registered. Update microservice 
properties successfully. properties=[{}], "
+                    + "frameworkVersion [{}]", microservice.getProperties(), 
microservice.getFramework().getVersion());
           } else {
-            LOGGER.error("microservice is already registered. Update 
microservice properties failed. properties=[{}]",
-                microservice.getProperties());
+            LOGGER.error("microservice is already registered. Update 
microservice properties failed. properties=[{}], "
+                    + "frameworkVersion [{}]", microservice.getProperties(), 
microservice.getFramework().getVersion());
           }
 
           microservice.setServiceId(serviceResponse.getServiceId());

Reply via email to