Skip to content

Commit 515aa72

Browse files
committed
Print status to migration context logger
1 parent 9b3fa79 commit 515aa72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/logic/migrator.go

+1
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,7 @@ func (this *Migrator) printStatus(rule PrintStatusRule, writers ...io.Writer) {
10361036
)
10371037
w := io.MultiWriter(writers...)
10381038
fmt.Fprintln(w, status)
1039+
this.migrationContext.Log.Infof(status)
10391040

10401041
hooksStatusIntervalSec := this.migrationContext.HooksStatusIntervalSec
10411042
if hooksStatusIntervalSec > 0 && elapsedSeconds%hooksStatusIntervalSec == 0 {

0 commit comments

Comments
 (0)