Skip to content

Commit

Permalink
server: change dispatch failed log to info level (#19217)
Browse files Browse the repository at this point in the history
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
  • Loading branch information
jackysp authored Aug 26, 2020
1 parent e33e8fd commit 7c5cfd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit 7c5cfd7

Please sign in to comment.