HBASE-8879 Client Scanner spams the logs if there are lots of scanners.

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1500870 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
eclark 2013-07-08 18:25:30 +00:00
parent f47e212e1a
commit 0b0cccb61d
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ public class ClientScanner extends AbstractClientScanner {
*/
public ClientScanner(final Configuration conf, final Scan scan,
final byte[] tableName, HConnection connection) throws IOException {
if (LOG.isDebugEnabled()) {
LOG.debug("Scan table=" + Bytes.toString(tableName)
if (LOG.isTraceEnabled()) {
LOG.trace("Scan table=" + Bytes.toString(tableName)
+ ", startRow=" + Bytes.toStringBinary(scan.getStartRow()));
}
this.scan = scan;