public static Level getLevel(String anyLevelName) {
    return ANY_NAME_TO_LEVEL.get(anyLevelName.toUpperCase());
  }
Convert any string representation of a logging level to a Log4J2 {@code Level}. Returns null
if invalid.

<p>
get Log4j Level from either legacy level string or log4j level string
geode-core/src/main/java/org/apache/geode/logging/internal/log4j/LogLevel.java