From 028610ea6118f92b0b5fdbd7c0a9d590ac72c64f Mon Sep 17 00:00:00 2001 From: Benjamin Wenger <ben@elixxir.ioo> Date: Mon, 15 Feb 2021 11:41:31 -0800 Subject: [PATCH] added a more descriptive print on poll --- network/follow.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/network/follow.go b/network/follow.go index 7bcab96f0..f7db09834 100644 --- a/network/follow.go +++ b/network/follow.go @@ -93,7 +93,10 @@ func (m *manager) follow(rng csprng.Source, comms followNetworkComms) { StartTimestamp: identity.StartRequest.UnixNano(), EndTimestamp: identity.EndRequest.UnixNano(), } - jww.INFO.Printf("Polling gateway %s with ID %v...", gwHost, identity.EphId.Int64()) + jww.DEBUG.Printf("Executing poll for %v(%s) range: %s-%s(%s) from %s", + identity.EphId.Int64(), identity.Source, identity.StartRequest, + identity.EndRequest, identity.EndRequest.Sub(identity.StartRequest), gwHost) + pollResp, err := comms.SendPoll(gwHost, &pollReq) if err != nil { jww.ERROR.Printf("Unable to poll %s for NDF: %+v", gwHost, err) -- GitLab