private void doAppend(final LogEvent event) {
    AlertingService alertingService = getAlertingService();
    if (alertingService.hasAlertListeners()) {
      sendAlerts(event);
    } else {
      LOGGER.trace("Skipping alert messaging for {} because listeners is empty.", event);
    }
    if (debug) {
      events.add(event);
    }
  }
Builds AlertAppender instances.

@param <B> The type to build
geode-log4j/src/main/java/org/apache/geode/alerting/log4j/internal/impl/AlertAppender.java