Skip to content

Commit

Permalink
common/loggers: Write PrintTimerIfDelayed output to stdErr
Browse files Browse the repository at this point in the history
Closes #13171
  • Loading branch information
jmooring authored and bep committed Dec 19, 2024
1 parent 5d64b49 commit 6c583e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/loggers/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (l *logAdapter) PrintTimerIfDelayed(start time.Time, name string) {
if milli < 500 {
return
}
l.Printf("%s in %v ms", name, milli)
fmt.Fprintf(l.stdErr, "%s in %v ms", name, milli)
}

func (l *logAdapter) Printf(format string, v ...any) {
Expand Down

0 comments on commit 6c583e3

Please sign in to comment.