Skip to content

Commit

Permalink
Merge pull request #821 from pigwantacat/master
Browse files Browse the repository at this point in the history
fix:修复定时任务的日志打印
  • Loading branch information
wenjianzhang authored Dec 17, 2024
2 parents e7ae2fe + 4b477b3 commit 9d809f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/jobbase.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (e *ExecJob) Run() {
//TODO: 待完善部分
//str := time.Now().Format(timeFormat) + " [INFO] JobCore " + string(e.EntryId) + "exec success , spend :" + latencyTime.String()
//ws.SendAll(str)
log.Info("[Job] JobCore %s exec success , spend :%v", e.Name, latencyTime)
log.Infof("[Job] JobCore %s exec success , spend :%v", e.Name, latencyTime)
return
}

Expand Down

0 comments on commit 9d809f6

Please sign in to comment.