Skip to content

Commit

Permalink
log: change dispatch error log level (pingcap#16228)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lingyu Song authored Apr 9, 2020
1 parent 49ee75a commit 837b178
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 @@ -724,7 +724,7 @@ func (cc *clientConn) Run(ctx context.Context) {
if cc.ctx != nil {
txnMode = cc.ctx.GetSessionVars().GetReadableTxnMode()
}
logutil.Logger(ctx).Warn("command dispatched failed",
logutil.Logger(ctx).Error("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 837b178

Please sign in to comment.