Authored by qinchao

打印日志

@@ -322,6 +322,8 @@ public class ServiceCompare { @@ -322,6 +322,8 @@ public class ServiceCompare {
322 322
323 List<String> serviceInstances = client.getChildren().forPath(servicePath); 323 List<String> serviceInstances = client.getChildren().forPath(servicePath);
324 324
  325 + DEBUG.error(" zkregistercloud{} service{}, serviceInstances {} ", net, service, serviceInstances);
  326 +
325 for (String serviceInstance : serviceInstances) { 327 for (String serviceInstance : serviceInstances) {
326 328
327 String serviceContent = new String(client.getData().forPath(ZKPaths.makePath(servicePath, serviceInstance))); 329 String serviceContent = new String(client.getData().forPath(ZKPaths.makePath(servicePath, serviceInstance)));