Skip to content

Commit 76e2681

Browse files
Decrease log level
Signed-off-by: Mason <[email protected]>
1 parent 152b89f commit 76e2681

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/src/main/java/io/dapr/durabletask/TaskOrchestrationExecutor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,18 +1184,18 @@ private boolean shouldRetry() {
11841184
boolean shouldRetryBasedOnHandler = this.handler != null ? this.handler.handle(retryContext) : true;
11851185

11861186
if (this.policy != null) {
1187-
logger.info(() -> String.format("shouldRetryBasedOnPolicy: %s", shouldRetryBasedOnPolicy));
1187+
logger.fine(() -> String.format("shouldRetryBasedOnPolicy: %s", shouldRetryBasedOnPolicy));
11881188
}
11891189

11901190
if (this.handler != null) {
1191-
logger.info(() -> String.format("shouldRetryBasedOnHandler: %s", shouldRetryBasedOnHandler));
1191+
logger.fine(() -> String.format("shouldRetryBasedOnHandler: %s", shouldRetryBasedOnHandler));
11921192
}
11931193

11941194
return shouldRetryBasedOnPolicy && shouldRetryBasedOnHandler;
11951195
}
11961196

11971197
private boolean shouldRetryBasedOnPolicy() {
1198-
logger.warning(() -> String.format("Retry Policy: %d retries out of total %d performed ", this.attemptNumber, this.policy.getMaxNumberOfAttempts()));
1198+
logger.fine(() -> String.format("Retry Policy: %d retries out of total %d performed ", this.attemptNumber, this.policy.getMaxNumberOfAttempts()));
11991199

12001200
if (this.attemptNumber >= this.policy.getMaxNumberOfAttempts()) {
12011201
// Max number of attempts exceeded

0 commit comments

Comments
 (0)