|
@@ -55,7 +55,8 @@ public class Groups {
|
|
|
cacheTimeout =
|
|
|
conf.getLong("hadoop.security.groups.cache.secs", 5*60) * 1000;
|
|
|
|
|
|
- LOG.info("Group mapping impl=" + impl.getClass().getName() +
|
|
|
+ if(LOG.isDebugEnabled())
|
|
|
+ LOG.debug("Group mapping impl=" + impl.getClass().getName() +
|
|
|
"; cacheTimeout=" + cacheTimeout);
|
|
|
}
|
|
|
|
|
@@ -77,7 +78,7 @@ public class Groups {
|
|
|
// Create and cache user's groups
|
|
|
groups = new CachedGroups(impl.getGroups(user));
|
|
|
userToGroupsMap.put(user, groups);
|
|
|
- LOG.info("Returning fetched groups for '" + user + "'");
|
|
|
+ LOG.debug("Returning fetched groups for '" + user + "'");
|
|
|
return groups.getGroups();
|
|
|
}
|
|
|
|