HBASE-27079 Lower some DEBUG level logs in ReplicationSourceWALReader to TRACE (#4476)
Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
parent
f356bf1c91
commit
540fe8bbfa
|
@ -173,10 +173,10 @@ class ReplicationSourceWALReader extends Thread {
|
|||
protected final boolean addEntryToBatch(WALEntryBatch batch, Entry entry) {
|
||||
WALEdit edit = entry.getEdit();
|
||||
if (edit == null || edit.isEmpty()) {
|
||||
LOG.debug("Edit null or empty for entry {} ", entry);
|
||||
LOG.trace("Edit null or empty for entry {} ", entry);
|
||||
return false;
|
||||
}
|
||||
LOG.debug("updating TimeStampOfLastAttempted to {}, from entry {}, for source queue: {}",
|
||||
LOG.trace("updating TimeStampOfLastAttempted to {}, from entry {}, for source queue: {}",
|
||||
entry.getKey().getWriteTime(), entry.getKey(), this.source.getQueueId());
|
||||
long entrySize = getEntrySizeIncludeBulkLoad(entry);
|
||||
long entrySizeExcludeBulkLoad = getEntrySizeExcludeBulkLoad(entry);
|
||||
|
@ -343,7 +343,7 @@ class ReplicationSourceWALReader extends Thread {
|
|||
protected final Entry filterEntry(Entry entry) {
|
||||
Entry filtered = filter.filter(entry);
|
||||
if (entry != null && (filtered == null || filtered.getEdit().size() == 0)) {
|
||||
LOG.debug("Filtered entry for replication: {}", entry);
|
||||
LOG.trace("Filtered entry for replication: {}", entry);
|
||||
source.getSourceMetrics().incrLogEditsFiltered();
|
||||
}
|
||||
return filtered;
|
||||
|
|
Loading…
Reference in New Issue