From 515aa72d3d9b756e454b0168b4e57bc599b45e36 Mon Sep 17 00:00:00 2001 From: Nicholas Calugar Date: Thu, 27 Oct 2022 11:42:12 -0700 Subject: [PATCH] Print status to migration context logger --- go/logic/migrator.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/logic/migrator.go b/go/logic/migrator.go index b443d69..22b7c9f 100644 --- a/go/logic/migrator.go +++ b/go/logic/migrator.go @@ -1036,6 +1036,7 @@ func (this *Migrator) printStatus(rule PrintStatusRule, writers ...io.Writer) { ) w := io.MultiWriter(writers...) fmt.Fprintln(w, status) + this.migrationContext.Log.Infof(status) hooksStatusIntervalSec := this.migrationContext.HooksStatusIntervalSec if hooksStatusIntervalSec > 0 && elapsedSeconds%hooksStatusIntervalSec == 0 {