From 6c583e322759228d65c4a7576515e19b43f67bc2 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Thu, 19 Dec 2024 08:44:11 -0800 Subject: [PATCH] common/loggers: Write PrintTimerIfDelayed output to stdErr Closes #13171 --- common/loggers/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {