code: private static LinkedList setLevelToJavaLogging( final Dictionary configuration )
      {
          for( Enumeration enum_ = java.util.logging.LogManager.getLogManager().getLoggerNames(); enum_.hasMoreElements();) {
              String name = (String) enum_.nextElement();
              java.util.logging.Logger.getLogger(name).setLevel( null );
          }
  
          LinkedList loggers  = new LinkedList();
          for( Enumeration keys = configuration.keys(); keys.hasMoreElements(); )
          {
              String name = (String) keys.nextElement();
  			String value = (String) configuration.get( name );
  			if (name.equals( "log4j.rootLogger" ))
  			{
                  setJULLevel( java.util.logging.Logger.getLogger(""), value );
                  // "global" comes from java.util.logging.Logger.GLOBAL_LOGGER_NAME, but that constant wasn't added until Java 1.6
                  setJULLevel( java.util.logging.Logger.getLogger("global"), value );
  			}
  
              if (name.startsWith("log4j.logger."))
              {
                  String packageName = name.substring( "log4j.logger.".length() );
                  java.util.logging.Logger logger = java.util.logging.Logger.getLogger(packageName);
                  setJULLevel( logger, value );
                  loggers.add( logger );
              }
          }
          return loggers;
  	}
docs: Configure Java Util Logging according to the provided configuration.
  Convert the log4j configuration to JUL config.
  
  It's necessary to do that, because with pax logging, JUL loggers are not replaced.
  So we need to configure JUL loggers in order that log messages goes correctly to log Handlers.
  
  @param configuration	Properties coming from the configuration.