code: public void append(final String action, final String uuid) throws IOException
     {
        initOut();
        out.write(ByteBuffer.wrap((action + " " + uuid + "\n").getBytes()));
     }
docs: Appends an action to the log.
  
  @param action
  the action to append.
  @throws IOException
  if the node cannot be written to the redo log.