Skip to content

rls: Adding extra debug logs #10902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Log nanos to avoid computation
  • Loading branch information
temawi committed Feb 8, 2024
commit a02aab5bcd234bf0c96dc90d52a5bf501b3da708
5 changes: 2 additions & 3 deletions rls/src/main/java/io/grpc/rls/CachingRlsLbClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 +726,8 @@ public void run() {
delayNanos,
TimeUnit.NANOSECONDS,
scheduledExecutorService);
logger.log(ChannelLogLevel.DEBUG,
"BackoffCacheEntry created with a delay of {0}s",
TimeUnit.NANOSECONDS.toSeconds(delayNanos));
logger.log(ChannelLogLevel.DEBUG, "BackoffCacheEntry created with a delay of {0} nanos",
delayNanos);
}

/** Forcefully refreshes cache entry by ignoring the backoff timer. */
Expand Down