Skip to content
Snippets Groups Projects
Commit 028610ea authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

added a more descriptive print on poll

parent 41c08e05
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,10 @@ func (m *manager) follow(rng csprng.Source, comms followNetworkComms) { ...@@ -93,7 +93,10 @@ func (m *manager) follow(rng csprng.Source, comms followNetworkComms) {
StartTimestamp: identity.StartRequest.UnixNano(), StartTimestamp: identity.StartRequest.UnixNano(),
EndTimestamp: identity.EndRequest.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) pollResp, err := comms.SendPoll(gwHost, &pollReq)
if err != nil { if err != nil {
jww.ERROR.Printf("Unable to poll %s for NDF: %+v", gwHost, err) jww.ERROR.Printf("Unable to poll %s for NDF: %+v", gwHost, err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment