static void logErrorMessageWithThrowableWithCounter(Logger logger, AtomicInteger atomicInteger, String errorMessage, Throwable throwable) {
    logErrorMessageWithThrowableWithCounter(logger, atomicInteger, errorMessage, throwable, WAIT_COUNT_MAX);
  }
Utility class to hold static convenience methods for
the LogSearch integration layer
ambari-server/src/main/java/org/apache/ambari/server/controller/logging/Utils.java