Skip to content

Commit 59700ba

Browse files
committed
HBASE-27079 Lower some DEBUG level logs in ReplicationSourceWALReader to TRACE (#4476)
Signed-off-by: Viraj Jasani <vjasani@apache.org>
1 parent f4f3e63 commit 59700ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ public void run() {
173173
protected final boolean addEntryToBatch(WALEntryBatch batch, Entry entry) {
174174
WALEdit edit = entry.getEdit();
175175
if (edit == null || edit.isEmpty()) {
176-
LOG.debug("Edit null or empty for entry {} ", entry);
176+
LOG.trace("Edit null or empty for entry {} ", entry);
177177
return false;
178178
}
179-
LOG.debug("updating TimeStampOfLastAttempted to {}, from entry {}, for source queue: {}",
179+
LOG.trace("updating TimeStampOfLastAttempted to {}, from entry {}, for source queue: {}",
180180
entry.getKey().getWriteTime(), entry.getKey(), this.source.getQueueId());
181181
long entrySize = getEntrySizeIncludeBulkLoad(entry);
182182
long entrySizeExcludeBulkLoad = getEntrySizeExcludeBulkLoad(entry);
@@ -343,7 +343,7 @@ private WALEntryBatch createBatch(WALEntryStream entryStream) {
343343
protected final Entry filterEntry(Entry entry) {
344344
Entry filtered = filter.filter(entry);
345345
if (entry != null && (filtered == null || filtered.getEdit().size() == 0)) {
346-
LOG.debug("Filtered entry for replication: {}", entry);
346+
LOG.trace("Filtered entry for replication: {}", entry);
347347
source.getSourceMetrics().incrLogEditsFiltered();
348348
}
349349
return filtered;

0 commit comments

Comments
 (0)