Skip to content

Commit

Permalink
hopefully fixing error log that blows up our alerts (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
willmeister committed Sep 21, 2020
1 parent a3c35c6 commit 77669c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, errorKey, "Normalized odd number of arguments by adding nil")
ctx = append(ctx, nil, "LOG15_WARN", "Normalized odd number of arguments by adding nil")
}

return ctx
Expand Down

0 comments on commit 77669c8

Please sign in to comment.