HBASE-17540 Change SASL server GSSAPI callback log line from DEBUG to TRACE in RegionServer

Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
Sukumar Maddineni 2017-01-25 14:08:22 -08:00 committed by Andrew Purtell
parent ad8e6c8312
commit bd8a4d5fad
1 changed files with 4 additions and 4 deletions

View File

@ -119,8 +119,8 @@ public class HBaseSaslRpcServer {
UserGroupInformation user = null;
user = tokenIdentifier.getUser(); // may throw exception
connection.attemptingUser = user;
if (LOG.isDebugEnabled()) {
LOG.debug("SASL server DIGEST-MD5 callback: setting password "
if (LOG.isTraceEnabled()) {
LOG.trace("SASL server DIGEST-MD5 callback: setting password "
+ "for client: " + tokenIdentifier.getUser());
}
pc.setPassword(password);
@ -134,10 +134,10 @@ public class HBaseSaslRpcServer {
ac.setAuthorized(false);
}
if (ac.isAuthorized()) {
if (LOG.isDebugEnabled()) {
if (LOG.isTraceEnabled()) {
String username =
getIdentifier(authzid, secretManager).getUser().getUserName();
LOG.debug("SASL server DIGEST-MD5 callback: setting "
LOG.trace("SASL server DIGEST-MD5 callback: setting "
+ "canonicalized client ID: " + username);
}
ac.setAuthorizedID(authzid);