Skip to content

Commit 8fd747a

Browse files
fix: logging stream reconnect attempts at FINE (#37)
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>
1 parent e51093d commit 8fd747a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-cloud-pubsublite/src/main/java/com/google/cloud/pubsublite/internal/wire/RetryingConnectionImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public final void onError(Throwable t) {
175175
.asRuntimeException());
176176
return;
177177
}
178-
logger.atInfo().withCause(t).atMostEvery(30, SECONDS).log(
178+
logger.atFine().withCause(t).log(
179179
"Stream disconnected attempting retry, after %s milliseconds", backoffTime);
180180
ScheduledFuture<?> retry =
181181
systemExecutor.schedule(observer::triggerReinitialize, backoffTime, MILLISECONDS);

0 commit comments

Comments
 (0)