public void reset() throws SecurityException {
  checkPermission();
synchronized (this) {
    props=new Properties();
    initializedGlobalHandlers=true;
  }
  for (  LoggerContext cx : contexts()) {
    Enumeration<String> enum_=cx.getLoggerNames();
    while (enum_.hasMoreElements()) {
      String name=enum_.nextElement();
      Logger logger=cx.findLogger(name);
      if (logger != null) {
        resetLogger(logger);
      }
    }
  }
}

public void reset ( ) throws SecurityException { checkPermission ( ) ; synchronized ( this ) { props = new Properties ( ) ; initializedGlobalHandlers = true ; } for ( LoggerContext cx : contexts ( ) ) { Enumeration < String > enum_ = cx . getLoggerNames ( ) ; while ( enum_ . hasMoreElements ( ) ) { String name = enum_ . nextElement ( ) ; Logger logger = cx . findLogger ( name ) ; if ( logger != null ) { resetLogger ( logger ) ; } } } }
reset the logging configuration . < p > for all named loggers , the reset operation removes and closes all handlers and ( except for the root logger ) sets the level to null . the root logger ' s level is set to level . info .
