This is an automated email from the ASF dual-hosted git repository.
liuhongyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new b94f2a2425 feat:modify instance createOrUpdate method log level (#6285)
b94f2a2425 is described below
commit b94f2a242504306bca8574c4321efa7cb51337c7
Author: yangyx107 <[email protected]>
AuthorDate: Wed Feb 4 11:49:42 2026 +0800
feat:modify instance createOrUpdate method log level (#6285)
Co-authored-by: aias00 <[email protected]>
---
.../org/apache/shenyu/admin/service/impl/InstanceInfoServiceImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/InstanceInfoServiceImpl.java
b/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/InstanceInfoServiceImpl.java
index 367905f588..ea9cda2fa2 100644
---
a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/InstanceInfoServiceImpl.java
+++
b/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/InstanceInfoServiceImpl.java
@@ -57,7 +57,7 @@ public class InstanceInfoServiceImpl implements
InstanceInfoService {
instanceQuery.setNamespaceId(instanceInfoVO.getNamespaceId());
InstanceInfoDO infoDO =
instanceInfoMapper.selectOneByQuery(instanceQuery);
if (Objects.isNull(infoDO)) {
- LOG.info("Register new instance info: {}",
GsonUtils.getInstance().toJson(instanceQuery));
+ LOG.debug("Register new instance info: {}",
GsonUtils.getInstance().toJson(instanceQuery));
InstanceInfoDO instanceInfoDO =
InstanceInfoDO.buildInstanceInfoDO(instanceInfoVO);
try {
instanceInfoMapper.insert(instanceInfoDO);
@@ -66,7 +66,7 @@ public class InstanceInfoServiceImpl implements
InstanceInfoService {
}
return;
}
- LOG.info("Update instance info: {}",
GsonUtils.getInstance().toJson(instanceInfoVO));
+ LOG.debug("Update instance info: {}",
GsonUtils.getInstance().toJson(instanceInfoVO));
infoDO.setInstanceIp(instanceInfoVO.getInstanceIp());
infoDO.setInstanceType(instanceInfoVO.getInstanceType());
infoDO.setInstanceInfo(instanceInfoVO.getInstanceInfo());