|
@@ -1806,7 +1806,7 @@ public class ZooKeeperServer implements SessionExpirer, ServerStats.Provider {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} catch (SaslException e) {
|
|
} 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()) {
|
|
if (shouldAllowSaslFailedClientsConnect() && !authHelper.isSaslAuthRequired()) {
|
|
LOG.warn("Maintaining client connection despite SASL authentication failure.");
|
|
LOG.warn("Maintaining client connection despite SASL authentication failure.");
|
|
} else {
|
|
} else {
|
|
@@ -2370,7 +2370,7 @@ public class ZooKeeperServer implements SessionExpirer, ServerStats.Provider {
|
|
try {
|
|
try {
|
|
request.cnxn.sendResponse(rh, null, null);
|
|
request.cnxn.sendResponse(rh, null, null);
|
|
} catch (IOException e) {
|
|
} catch (IOException e) {
|
|
- LOG.error("IOException : {}", e);
|
|
|
|
|
|
+ LOG.warn("IOException", e);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|