wal.HLog is way too chatty at INFO level
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@891166 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
04155cac92
commit
1858f17716
|
@ -852,7 +852,11 @@ public class HLog implements HConstants, Syncable {
|
|||
}
|
||||
try {
|
||||
this.editsSize.addAndGet(logKey.heapSize() + logEdit.heapSize());
|
||||
if (this.numEntries.get() % this.flushlogentries == 0) LOG.info("edit=" + this.numEntries.get() + ", write=" + logKey.toString());
|
||||
if (LOG.isDebugEnabled() &&
|
||||
(this.numEntries.get() % this.flushlogentries == 0)) {
|
||||
LOG.debug("edit=" + this.numEntries.get() + ", write=" +
|
||||
logKey.toString());
|
||||
}
|
||||
this.writer.append(logKey, logEdit);
|
||||
long took = System.currentTimeMillis() - now;
|
||||
if (took > 1000) {
|
||||
|
|
Loading…
Reference in New Issue