Skip to content

Commit

Permalink
fix: logging stream reconnect attempts at FINE (#37)
Browse files Browse the repository at this point in the history
Stream reconnect logs are very noisy, changing log to FINE instead of INFO.

Co-authored-by: dpcollins-google <40498610+dpcollins-google@users.noreply.github.com>
  • Loading branch information
hannahrogers-google and dpcollins-google committed May 15, 2020
1 parent e51093d commit 8fd747a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -175,7 +175,7 @@ public final void onError(Throwable t) {
.asRuntimeException());
return;
}
logger.atInfo().withCause(t).atMostEvery(30, SECONDS).log(
logger.atFine().withCause(t).log(
"Stream disconnected attempting retry, after %s milliseconds", backoffTime);
ScheduledFuture<?> retry =
systemExecutor.schedule(observer::triggerReinitialize, backoffTime, MILLISECONDS);
Expand Down

0 comments on commit 8fd747a

Please sign in to comment.