优化打印日志

pull/1/head
tanghc 5 years ago
parent c2b8c0a617
commit 9d6d24bd5b
  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("推送服务路由配置到nacos,dataId:{}, groupId:{}",dataId, groupId);
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