public static Logger getLogger() {
    String name = StackLocator.getInstance().getCallerClass(2).getName();
    return getLogger(name);
  }
Returns a Logger with the name of the calling class.

@return The Logger for the calling class.
geode-logging/src/main/java/org/apache/geode/logging/internal/log4j/api/LogService.java