Skip to content

Commit

Permalink
ddl: Clean log (pingcap#5524)
Browse files Browse the repository at this point in the history
The `\n` will make the result of `grep` hard to read.
  • Loading branch information
shenli authored and coocood committed Dec 29, 2017
1 parent f817799 commit c970be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/ddl.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ func (d *ddl) doDDLJob(ctx context.Context, job *model.Job) error {

// Notice worker that we push a new job and wait the job done.
asyncNotify(d.ddlJobCh)
log.Infof("[ddl] start DDL job %s, Query:\n%s", job, job.Query)
log.Infof("[ddl] start DDL job %s, Query:%s", job, job.Query)

var historyJob *model.Job
jobID := job.ID
Expand Down

0 comments on commit c970be5

Please sign in to comment.