code: Level getLevelProperty(String name, Level defaultValue) {
          LogManager manager = LogManager.getLogManager();
          String val = manager.getProperty(name);
          if (val == null) {
              return defaultValue;
          }
          Level l = Level.parse(val.trim());
          return l != null ? l : defaultValue;
      }
docs: -- These methods are private in LogManager