@Override
  public void extensionUnloaded() {
    // unregister menu
    JMenuBar burpMenuBar = rootPane.getJMenuBar();
    BurpExtender.getCallbacks().printOutput("Unregistering menu");
    burpMenuBar.remove(autoRepeaterJMenu);
    burpMenuBar.repaint();
  }
Action listener for export logs menu.
src/burp/Utils/AutoRepeaterMenu.java