From 5eed05be8ecf62ec5501ae989c6d1b387aa291e4 Mon Sep 17 00:00:00 2001 From: ti-srebot <66930949+ti-srebot@users.noreply.github.com> Date: Tue, 1 Sep 2020 20:41:52 +0800 Subject: [PATCH] server: change dispatch failed log to info level (#19217) (#19454) Signed-off-by: ti-srebot --- server/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/conn.go b/server/conn.go index e6f437b707ece..72dc7a03bf1c6 100644 --- a/server/conn.go +++ b/server/conn.go @@ -727,7 +727,7 @@ func (cc *clientConn) Run(ctx context.Context) { if cc.ctx != nil { txnMode = cc.ctx.GetSessionVars().GetReadableTxnMode() } - logutil.Logger(ctx).Error("command dispatched failed", + logutil.Logger(ctx).Info("command dispatched failed", zap.String("connInfo", cc.String()), zap.String("command", mysql.Command2Str[data[0]]), zap.String("status", cc.SessionStatusToString()),