public void setOutputOnlyRowKey() {
    this.outputOnlyRowKey = true;
  }
Option to print the row key only in case you just need the row keys from the WAL
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALPrettyPrinter.java