Skip to content

Commit

Permalink
kvserver: decrease verbosity of replicate queue trace logging
Browse files Browse the repository at this point in the history
While logging of traces on replicate queue errors was recently added,
logging these traces at the `WARNING` level appears to be too high,
causing noisy logs. This change decreases the verbosity of these logs to
the `INFO` level.

Release note: None
  • Loading branch information
AlexTalks committed Sep 30, 2022
1 parent aaca5ce commit faeec7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kv/kvserver/replicate_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ func (rq *replicateQueue) processOneChangeWithTracing(
}

if err != nil {
log.KvDistribution.Warningf(ctx, "error processing replica: %v%s", err, traceOutput)
log.KvDistribution.Infof(ctx, "error processing replica: %v%s", err, traceOutput)
} else if exceededDuration {
log.KvDistribution.Infof(ctx, "processing replica took %s, exceeding threshold of %s%s",
processDuration, loggingThreshold, traceOutput)
Expand Down

0 comments on commit faeec7f

Please sign in to comment.