Skip to content

Commit dff1756

Browse files
committed
HADOOP-6763. Remove verbose logging from the Groups class
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@944009 13f79535-47bb-0310-9956-ffa450edef68
1 parent b95e432 commit dff1756

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Trunk (unreleased changes)
99

1010
BUG FIXES
1111

12+
HADOOP-6764. Remove verbose logging from the Groups class. (Boris Shkolnik)
13+
1214
HADOOP-6730. Bug in FileContext#copy and provide base class for FileContext
1315
tests. (Ravi Phulari via jghoman)
1416

src/java/org/apache/hadoop/security/Groups.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ public Groups(Configuration conf) {
5757
cacheTimeout =
5858
conf.getLong(CommonConfigurationKeys.HADOOP_SECURITY_GROUPS_CACHE_SECS, 5*60) * 1000;
5959

60-
LOG.info("Group mapping impl=" + impl.getClass().getName() +
61-
"; cacheTimeout=" + cacheTimeout);
60+
if(LOG.isDebugEnabled())
61+
LOG.debug("Group mapping impl=" + impl.getClass().getName() +
62+
"; cacheTimeout=" + cacheTimeout);
6263
}
6364

6465
/**

0 commit comments

Comments
 (0)