public static void reviveLogger(){
  if (loggerHandler != null) {
synchronized (loggerHandler) {
      if (logger.getHandlers().length == 0) {
        logger.addHandler(loggerHandler);
      }
      logger.setLevel(loggerLevel);
    }
  }
}

public static void reviveLogger ( ) { if ( loggerHandler != null ) { synchronized ( loggerHandler ) { if ( logger . getHandlers ( ) . length == 0 ) { logger . addHandler ( loggerHandler ) ; } logger . setLevel ( loggerLevel ) ; } } }
java . util . logging closes its loggers in a shutdown handler . this tool finds it prefereable not to do that and therefore has to restart the logging facility when it tries to shutdown .
