Skip to content

Commit 5e159e7

Browse files
Remove logging for retry attempts
We already log the post so it should be enough indication it's a retry. Matches behavior of other packages.
1 parent d7473fd commit 5e159e7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎judoscale-core/src/main/java/com/judoscale/core/ApiClientBase.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public boolean reportMetrics(List<Metric> metrics) {
112112

113113
if (attempt < MAX_RETRIES) {
114114
long delayMs = (long) (250 * Math.pow(2, attempt - 1));
115-
logger.log(Level.FINE, "Retry {0} after error (waiting {1}ms): {2}", new Object[]{attempt, delayMs, error.getMessage()});
116115
try {
117116
Thread.sleep(delayMs);
118117
} catch (InterruptedException ignored) {

0 commit comments

Comments
 (0)