code: public void stopAllPlugins() {
          synchronized (pluginMap) {
              // remove the listener for this repository
              loggerRepository.removeLoggerRepositoryEventListener(listener);
  
              Iterator iter = pluginMap.values().iterator();
  
              while (iter.hasNext()) {
                  Plugin plugin = (Plugin) iter.next();
                  plugin.shutdown();
                  firePluginStopped(plugin);
              }
          }
      }
docs: Stops all plugins in the given logger repository.