From 4efd15675948aebcb3868cfdaa361b9699d90dfa Mon Sep 17 00:00:00 2001
From: Cathal Coffey <coffey.cathal@gmail.com>
Date: Tue, 2 Feb 2021 09:17:31 +0000
Subject: [PATCH] Move 'heartbeat is too high' to Debug logs

---
 go/logic/migrator.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/go/logic/migrator.go b/go/logic/migrator.go
index 633b3d0..2c95e63 100644
--- a/go/logic/migrator.go
+++ b/go/logic/migrator.go
@@ -524,7 +524,7 @@ func (this *Migrator) cutOver() (err error) {
 			currentHeartbeatLag := atomic.LoadInt64(&this.migrationContext.CurrentHeartbeatLag)
 			maxLagMillisecondsThrottleThreshold := atomic.LoadInt64(&this.migrationContext.MaxLagMillisecondsThrottleThreshold)
 			if time.Duration(currentHeartbeatLag) > time.Duration(maxLagMillisecondsThrottleThreshold)*time.Millisecond {
-				this.migrationContext.Log.Infof("current HeartbeatLag (%.2fs) is too high, it needs to be less than --max-lag-millis (%.2fs) to continue", time.Duration(currentHeartbeatLag).Seconds(), (time.Duration(maxLagMillisecondsThrottleThreshold) * time.Millisecond).Seconds())
+				this.migrationContext.Log.Debugf("current HeartbeatLag (%.2fs) is too high, it needs to be less than --max-lag-millis (%.2fs) to continue", time.Duration(currentHeartbeatLag).Seconds(), (time.Duration(maxLagMillisecondsThrottleThreshold) * time.Millisecond).Seconds())
 				return true, nil
 			} else {
 				return false, nil