Skip to content

Commit

Permalink
server: change dispatch failed log to info level (#19217) (#19454)
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
  • Loading branch information
ti-srebot authored Sep 1, 2020
1 parent 5ea2b12 commit 5eed05b
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 @@ -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()),
Expand Down

0 comments on commit 5eed05b

Please sign in to comment.