Fix logs with missing variables (#1884)
This commit is contained in:
parent
97974d6c63
commit
926911700e
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue