提交 92691170 编写于 作者: S ScienJus 提交者: wu-sheng

Fix logs with missing variables (#1884)

上级 97974d6c
......@@ -64,7 +64,7 @@ public enum CacheUpdateTimer {
cache.setMappingServiceId(serviceInventory.getMappingServiceId());
cache.setMappingLastUpdateTime(serviceInventory.getMappingLastUpdateTime());
} else {
logger.warn("Unable to found the id of {} in service inventory cache.");
logger.warn("Unable to found the id of {} in service inventory cache.", serviceInventory.getSequence());
}
});
}
......
......@@ -107,7 +107,7 @@ public class ServiceInstanceInventoryRegister implements IServiceInstanceInvento
serviceInstanceInventory.setHeartbeatTime(heartBeatTime);
InventoryProcess.INSTANCE.in(serviceInstanceInventory);
} else {
logger.warn("Service instance {} heartbeat, but not found in storage.");
logger.warn("Service instance {} heartbeat, but not found in storage.", serviceInstanceId);
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册