Skip to content

Commit

Permalink
Use DEBUG level log when F3 is not ready for participation (#12700)
Browse files Browse the repository at this point in the history
To reduce log verbosity change the log level for message indicating that
F3 is not ready for participation yet. Because, the participation logic
will reattempt after some backoff and these logs may at times become too
verbose.

Fixes #12688
  • Loading branch information
masih authored Nov 18, 2024
1 parent 3f31b3b commit afd45db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/lf3/participation.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (p *Participant) tryParticipate(ctx context.Context, ticket api.F3Participa
log.Debugw("Reattempting F3 participation with the same ticket.", "attempts", p.backoff.Attempt())
continue
case errors.Is(err, api.ErrF3NotReady):
log.Warnw("F3 is not ready. Retrying F3 participation after backoff.", "backoff", p.backoff.Duration(), "err", err)
log.Debugw("F3 is not ready. Retrying F3 participation after backoff.", "backoff", p.backoff.Duration(), "err", err)
p.backOff(ctx)
continue
case err != nil:
Expand Down

0 comments on commit afd45db

Please sign in to comment.