From 5c9c9449ef5d5e55a2a5f1dd7f8198e261a4d5b7 Mon Sep 17 00:00:00 2001 From: kim Date: Fri, 20 Sep 2024 14:09:52 +0100 Subject: [PATCH] fix log level --- internal/log/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/log/log.go b/internal/log/log.go index b3f24c2ca..bb2e561b3 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -247,7 +247,7 @@ func ErrorKV(ctx context.Context, key string, value interface{}) { // //go:noinline func ErrorKVs(ctx context.Context, kvs ...kv.Field) { - logf(ctx, 3, WARN, kvs, "") + logf(ctx, 3, ERROR, kvs, "") } // Panic will log formatted args as 'msg' field to the log at PANIC level.