From 7c5cfd7bff9037394f82ed1d6b0b448f2a6a3a2f Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Wed, 26 Aug 2020 10:03:00 +0800 Subject: [PATCH] server: change dispatch failed log to info level (#19217) Signed-off-by: Shuaipeng Yu --- server/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/conn.go b/server/conn.go index 4d4563e98e479..519d1539aa410 100644 --- a/server/conn.go +++ b/server/conn.go @@ -741,7 +741,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()),