Enumeration allLoggers = Logger.getRootLogger() .getLoggerRepository() .getCurrentLoggers();
然后迭代allLoggers.