From 3a3cf1c18a1e5e2651212a712d2ac2d5fc6c9516 Mon Sep 17 00:00:00 2001 From: Will Meister Date: Thu, 24 Sep 2020 08:48:05 -0500 Subject: [PATCH] reverting logger change in favor of better filtering (#30) --- log/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/logger.go b/log/logger.go index f8372ef9b02d..276d6969e24d 100644 --- a/log/logger.go +++ b/log/logger.go @@ -207,7 +207,7 @@ func normalize(ctx []interface{}) []interface{} { // that things are the right length and users can fix bugs // when they see the output looks wrong if len(ctx)%2 != 0 { - ctx = append(ctx, "WARNING: Normalized odd number of arguments by adding nil") + ctx = append(ctx, nil, errorKey, "Normalized odd number of arguments by adding nil") } return ctx