Avoiding logging Sasl message

Based on a previous issue (HADOOP-11962), Sasl message should not be logged. Also, all of the instances of logging Sasl message have been removed except this one.
This commit is contained in:
anaeimian 2019-09-06 16:31:50 -04:00 committed by GitHub
parent 872cdf48a6
commit ea7639748f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -449,9 +449,6 @@ public class SaslRpcClient {
private void sendSaslMessage(OutputStream out, RpcSaslProto message)
throws IOException {
if (LOG.isDebugEnabled()) {
LOG.debug("Sending sasl message "+message);
}
ResponseBuffer buf = new ResponseBuffer();
saslHeader.writeDelimitedTo(buf);
message.writeDelimitedTo(buf);
@ -693,4 +690,4 @@ public class SaslRpcClient {
}
}
}
}
}