Write compressed and encoded raft logs to stdout if not zip_writer

Change-Id: Ib9948bebf9d5e2ef823e08b48fb67c36e0079a45
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 90f81ff..af04330 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -232,7 +232,8 @@
         return;
     }
     if (!zip_writer) {
-        MYLOGD("Not dumping raft because zip_writer is not set\n");
+        // Write compressed and encoded raft logs to stdout if not zip_writer.
+        run_command("RAFT LOGS", 600, "logcompressor", "-r", RAFT_DIR, NULL);
         return;
     }