Index: conf/log4j.properties =================================================================== --- conf/log4j.properties (revision 1031693) +++ conf/log4j.properties (working copy) @@ -48,3 +48,6 @@ log4j.logger.org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher=INFO #log4j.logger.org.apache.hadoop.dfs=DEBUG # Set this class to log INFO only otherwise its OTT + +# Uncomment this if you want to remove logging of client region caching' messages +# log4j.logger.org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation=INFO Index: src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java =================================================================== --- src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java (revision 1031693) +++ src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java (working copy) @@ -876,8 +876,8 @@ HRegionLocation rl = getCachedLocation(tableName, row); if (rl != null) { tableLocations.remove(rl.getRegionInfo().getStartKey()); - if (LOG.isDebugEnabled()) { - LOG.debug("Removed " + + if (LOG.isInfoEnabled()) { + LOG.info("Removed " + rl.getRegionInfo().getRegionNameAsString() + " for tableName=" + Bytes.toString(tableName) + " from cache " + "because of " + Bytes.toStringBinary(row)); @@ -1075,7 +1075,7 @@ } } if (this.zooKeeper != null) { - LOG.debug("Closed zookeeper sessionid=0x" + + LOG.info("Closed zookeeper sessionid=0x" + Long.toHexString(this.zooKeeper.getZooKeeper().getSessionId())); this.zooKeeper.close(); this.zooKeeper = null;