The RpcChannel failure limit can be adjusted by the user. Capturing
the failure count reached when a "permanent" channel failure is
being logged.
chan->rpcMaxFailures > 0 &&
++chan->rpcFailureCount >= chan->rpcMaxFailures) {
/* Maximum number of channel errors has been reached. */
- Warning(LGPFX "RpcChannel failure limit reached; calling the failure "
- "callback function.\n");
+ Warning(LGPFX "RpcChannel failure count %d; calling the failure "
+ "callback function.\n", chan->rpcFailureCount);
chan->rpcFailureCb(chan->resetData);
}