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:
parent
872cdf48a6
commit
ea7639748f
|
@ -449,9 +449,6 @@ public class SaslRpcClient {
|
||||||
|
|
||||||
private void sendSaslMessage(OutputStream out, RpcSaslProto message)
|
private void sendSaslMessage(OutputStream out, RpcSaslProto message)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
if (LOG.isDebugEnabled()) {
|
|
||||||
LOG.debug("Sending sasl message "+message);
|
|
||||||
}
|
|
||||||
ResponseBuffer buf = new ResponseBuffer();
|
ResponseBuffer buf = new ResponseBuffer();
|
||||||
saslHeader.writeDelimitedTo(buf);
|
saslHeader.writeDelimitedTo(buf);
|
||||||
message.writeDelimitedTo(buf);
|
message.writeDelimitedTo(buf);
|
||||||
|
@ -693,4 +690,4 @@ public class SaslRpcClient {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue