protected boolean logProxyFailure() {
    assert Thread.holdsLock(this);
    // always log the first failure
    if (logger.isDebugEnabled() || proxyFailureTries == 0) {
      return true;
    } else {
      // subsequent failures will be logged on 30th, 300th, 3000th try
      // each try is at 100millis from higher layer so this accounts for logging
      // after 3s, 30s and then every 5mins
      if (proxyFailureTries >= 3000) {
        return (proxyFailureTries % 3000) == 0;
      } else {
        return (proxyFailureTries == 30 || proxyFailureTries == 300);
      }
    }
  }
used to reduce warning logs in case remote locator is down
geode-wan/src/main/java/org/apache/geode/cache/wan/internal/AbstractRemoteGatewaySender.java