code: public void removeAllAppenders() {
          for (Appender appender : aai.getAppenders()) {
              aai.removeAppender(appender);
              fireRemoveAppenderEvent(appender);
          }
      }
docs: Remove all previously added appenders from this Category instance.
  
  <p>
  This is useful when re-reading configuration information.