1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

add more log

This commit is contained in:
theonefx 2021-05-12 22:23:24 +08:00
parent f816114122
commit cf71b7aa26
2 changed files with 6 additions and 0 deletions

View File

@ -297,6 +297,10 @@ public class DubboCloudRegistry extends FailbackRegistry {
serviceName));
}
}
else {
logger.debug("subscribe from serviceName = {}, size = {}", serviceName,
serviceInstances.size());
}
List<URL> exportedURLs = getExportedURLs(subscribedURL, serviceName,
serviceInstances);

View File

@ -57,6 +57,8 @@ public class ReSubscribeMetadataJob implements Runnable {
return;
}
try {
logger.info("reSubscribe, serviceName = {}, count = {}", serviceName,
errorCounts);
for (Map.Entry<URL, NotifyListener> entry : dubboCloudRegistry
.getUrlNotifyListenerMap().entrySet()) {
doRun(entry.getKey(), entry.getValue());