Skip to content

Commit 45371d9

Browse files
author
Shlomi Noach
committed
Merge pull request #36 from github/master-pos-wait-fix
some messagages are now Info instead of Debug
2 parents 55e4633 + 065d9c4 commit 45371d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/logic/applier.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,15 +568,15 @@ func (this *Applier) StopSlaveNicely() error {
568568
if err != nil {
569569
return err
570570
}
571-
log.Debugf("Replication stopped at %+v. Will wait for SQL thread to apply", *binlogCoordinates)
571+
log.Infof("Replication stopped at %+v. Will wait for SQL thread to apply", *binlogCoordinates)
572572
if err := this.MasterPosWait(binlogCoordinates); err != nil {
573573
return err
574574
}
575-
log.Debugf("Replication SQL thread applied all events")
575+
log.Infof("Replication SQL thread applied all events")
576576
if selfBinlogCoordinates, err := mysql.GetSelfBinlogCoordinates(this.db); err != nil {
577577
return err
578578
} else {
579-
log.Debugf("Self binlog coordinates: %+v", *selfBinlogCoordinates)
579+
log.Infof("Self binlog coordinates: %+v", *selfBinlogCoordinates)
580580
}
581581
return nil
582582
}

0 commit comments

Comments
 (0)