Skip to content

Commit

Permalink
bugfix for PersistentClientOperationServiceImpl log (alibaba#10825)
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-xiaoshuang authored Jul 25, 2023
1 parent 25ef67d commit 4321e77
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void registerInstance(Service service, Instance instance, String clientId

try {
protocol.write(writeRequest);
Loggers.RAFT.info("Client registered. service={}, clientId={}, instance={}", service, instance, clientId);
Loggers.RAFT.info("Client registered. service={}, clientId={}, instance={}", service, clientId, instance);
} catch (Exception e) {
throw new NacosRuntimeException(NacosException.SERVER_ERROR, e);
}
Expand Down Expand Up @@ -165,7 +165,7 @@ public void deregisterInstance(Service service, Instance instance, String client

try {
protocol.write(writeRequest);
Loggers.RAFT.info("Client unregistered. service={}, clientId={}, instance={}", service, instance, clientId);
Loggers.RAFT.info("Client unregistered. service={}, clientId={}, instance={}", service, clientId, instance);
} catch (Exception e) {
throw new NacosRuntimeException(NacosException.SERVER_ERROR, e);
}
Expand Down

0 comments on commit 4321e77

Please sign in to comment.