code: public void flushTxLog() {
          synchronized (flushCompleteSignal) {
              BufferName enqueueBuffer;
              synchronized (txLogToVEBuf.getPot()) {
                  // Enqueue the backup task
                  enqueueBuffer = txLogToVEBuf.getEnqueueBuffer(); 
                  FlushNowJob flushJob = new FlushNowJob();
                  txLogToVEBuf.addAndExecuteWork(flushJob);
              }
              
              try {
                  do {
                      log.debug("Waiting for flush to complete in buffer {}", enqueueBuffer);
                      flushCompleteSignal.wait();
                      log.debug("Flush complete in buffer {}", lastFlushedBuffer);
                  } while (lastFlushedBuffer != enqueueBuffer);
              } catch (InterruptedException e) {
                  BitsyException toThrow = new BitsyException(BitsyErrorCodes.FLUSH_INTERRUPTED, "Exception while waiting for a transaction-log flush to be performed", e);
  
                  log.error("Error while flushing the transaction log", toThrow);
  
                  throw toThrow;
              }
          }        
      }
docs: This method flushes the transaction log to the V/E text files