From 7674d5de3af3f84b9cae0e616e84512f1c5b5e77 Mon Sep 17 00:00:00 2001 From: Dmitriy Kalinin Date: Tue, 14 Jul 2020 21:44:40 -0400 Subject: [PATCH] fix log formatting --- cmd/controller/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/controller/main.go b/cmd/controller/main.go index dc892cc37..8a7869374 100644 --- a/cmd/controller/main.go +++ b/cmd/controller/main.go @@ -115,7 +115,7 @@ func main() { } if enablePprof { - entryLog.Info("DANGEROUS in production setting -- pprof running on %s", pprofListenAddr) + entryLog.Info("DANGEROUS in production setting -- pprof running", "listen-addr", pprofListenAddr) go func() { entryLog.Error(http.ListenAndServe(pprofListenAddr, nil), "serving pprof") }()