From 931d2b6c850a0c8bea7eb22db9151adf9ec4e28b Mon Sep 17 00:00:00 2001 From: Will Meister Date: Mon, 21 Sep 2020 15:13:34 -0500 Subject: [PATCH] Actually fixing log issue of adding ERROR to non-error logs (#27) --- log/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/logger.go b/log/logger.go index a7ba630d1b8d..f8372ef9b02d 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, nil, "LOG15_WARN", "Normalized odd number of arguments by adding nil") + ctx = append(ctx, "WARNING: Normalized odd number of arguments by adding nil") } return ctx