diff --git a/common/loggers/logger.go b/common/loggers/logger.go index 77a21458a4a..a013049f770 100644 --- a/common/loggers/logger.go +++ b/common/loggers/logger.go @@ -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) {