优化打印日志

pull/1/head
tanghc 5 years ago
parent e3ff576268
commit c2b8c0a617
  1. 2
      sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/manager/ServiceRoutesLoader.java

@ -106,7 +106,7 @@ public class ServiceRoutesLoader<T extends TargetRoute> {
ServiceRouteInfo serviceRouteInfo = JSON.parseObject(body, ServiceRouteInfo.class);
baseRouteCache.load(serviceRouteInfo, callback -> {
try {
log.info("加载服务路由,serviceId:{}, instance:{}",serviceName, instance);
log.info("推送服务路由配置到nacos,dataId:{}, groupId:{}",dataId, groupId);
configService.publishConfig(dataId, groupId, body);
} catch (NacosException e) {
log.error("nacos推送失败,serviceId:{}, instance:{}",serviceName, instance);

Loading…
Cancel
Save