code: synchronized void clear() throws IOException
     {
        if (out != null)
        {
           out.close();
           out = null;
        }
        try
        {
           if (dir.fileExists(REDO_LOG))
           {
              dir.deleteFile(REDO_LOG);
           }
        }
        catch (IOException e)
        {
           log.error(e.getLocalizedMessage(), e);
           throw e;
        }
        entryCount = 0;
     }
docs: Clears the redo log.
  @throws IOException if the redo log cannot be cleared.