Skip to content

Commit

Permalink
suppress logs in throwOrDelay
Browse files Browse the repository at this point in the history
  • Loading branch information
snalli committed Oct 10, 2023
1 parent 7256b4f commit a84efab
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ private void throwOrDelay(Throwable e, String actionName, String partitionPath,
vcrMetrics.retryWaitTimeMsec.inc(delay);
} else {
// Either not retryable or exhausted attempts.
logger.error("{} failed partition {} statusCode {} cause {} made {} attempts.", actionName, partitionPath,
// Not very useful to log error here as they are printed in several other places
logger.debug("{} failed partition {} statusCode {} cause {} made {} attempts.", actionName, partitionPath,
statusCode, cause, attempts);
throw cse;
}
Expand Down

0 comments on commit a84efab

Please sign in to comment.