public static String getEffectiveLevel(String loggerName) {
    Method method = getMethod("getEffectiveLevel", String.class);
    try {
      return (String) method.invoke(null, loggerName);
    } catch (IllegalAccessException e) {
      throw new AssertionError("should not happen", e);
    } catch (InvocationTargetException e) {
      throwUnchecked(e.getCause());
      throw new AssertionError("should not happen", e.getCause());
    }
  }
A bridge class for operating on log4j, such as changing log level, etc.
<p/>
Will call the methods in {@link InternalLog4jUtils} to actually operate on the log4j stuff.
hbase-logging/src/main/java/org/apache/hadoop/hbase/logging/Log4jUtils.java