code: static org.apache.log4j.Level toLog4jLevel(java.util.logging.Level level) {
      if (level.intValue() >= java.util.logging.Level.SEVERE.intValue()) {
        return org.apache.log4j.Level.ERROR;
      } else if (level.intValue() >= java.util.logging.Level.WARNING.intValue()) {
        return org.apache.log4j.Level.WARN;
      } else if (level.intValue() >= java.util.logging.Level.INFO.intValue()) {
        return org.apache.log4j.Level.INFO;
      } else if (level.intValue() >= java.util.logging.Level.FINE.intValue()) {
        return org.apache.log4j.Level.DEBUG;
      }
      return org.apache.log4j.Level.TRACE;
    }
docs: Converts java.util.logging.Level to org.apache.log4j.Level.