diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogUtil.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogUtil.java index 973af645179..49d047fbe82 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogUtil.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogUtil.java @@ -39,7 +39,8 @@ import org.apache.hadoop.hbase.ServerName; import org.apache.hadoop.hbase.protobuf.generated.WALProtos.CompactionDescriptor; import org.apache.hadoop.hbase.util.EnvironmentEdgeManager; import org.apache.hadoop.hbase.util.FSUtils; -import org.apache.hadoop.hbase.util.Bytes; + +import com.google.protobuf.TextFormat; public class HLogUtil { static final Log LOG = LogFactory.getLog(HLogUtil.class); @@ -262,6 +263,8 @@ public class HLogUtil { WALEdit e = WALEdit.createCompaction(c); log.append(info, c.getTableName().toByteArray(), e, EnvironmentEdgeManager.currentTimeMillis(), htd); - LOG.info("Appended compaction marker " + c); + if (LOG.isTraceEnabled()) { + LOG.trace("Appended compaction marker " + TextFormat.shortDebugString(c)); + } } }