From 06f9a4ad1d459f2eb1c4c63e2d0d2d0843b9ace0 Mon Sep 17 00:00:00 2001 From: pasquier-s Date: Thu, 14 Dec 2017 16:05:59 +0100 Subject: [PATCH] Fix logging for the mesh component (#1145) --- cmd/alertmanager/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/alertmanager/main.go b/cmd/alertmanager/main.go index 26e58167..8ac93cff 100644 --- a/cmd/alertmanager/main.go +++ b/cmd/alertmanager/main.go @@ -465,7 +465,7 @@ type printfLogger struct { } func (l printfLogger) Printf(f string, args ...interface{}) { - level.Debug(l).Log(fmt.Sprintf(f, args...)) + level.Debug(l).Log("msg", fmt.Sprintf(f, args...)) } func extURL(listen, external string) (*url.URL, error) {