Skip to content

Commit

Permalink
ZOOKEEPER-4879: Fix log arguments typo
Browse files Browse the repository at this point in the history
  • Loading branch information
luozongle01 committed Oct 18, 2024
1 parent 837f86c commit a88a185
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,7 @@ private void processSasl(RequestRecord request, ServerCnxn cnxn, RequestHeader r
}
}
} catch (SaslException e) {
LOG.warn("Client {} failed to SASL authenticate: {}", cnxn.getRemoteSocketAddress(), e);
LOG.warn("Client {} failed to SASL authenticate", cnxn.getRemoteSocketAddress(), e);
if (shouldAllowSaslFailedClientsConnect() && !authHelper.isSaslAuthRequired()) {
LOG.warn("Maintaining client connection despite SASL authentication failure.");
} else {
Expand Down Expand Up @@ -2375,7 +2375,7 @@ public boolean authWriteRequest(Request request) {
try {
request.cnxn.sendResponse(rh, null, null);
} catch (IOException e) {
LOG.error("IOException : {}", e);
LOG.error("IOException", e);
}
}
}
Expand Down

0 comments on commit a88a185

Please sign in to comment.