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

improved historical rounds logs

parent bfd69de4
Branches
Tags
No related merge requests found
......@@ -102,10 +102,13 @@ func (m *Manager) processHistoricalRounds(comm historicalRoundsComms, quitCh <-c
Rounds: rounds,
}
jww.DEBUG.Printf("Requesting Historical rounds (%v) from " +
"gateway %s", rounds, gwHost.GetId())
response, err := comm.RequestHistoricalRounds(gwHost, hr)
if err != nil {
jww.ERROR.Printf("Failed to request historical roundRequests "+
"data: %s", response)
"data for rounds %v: %s", rounds, response)
// if the check fails to resolve, break the loop and so they will be
// checked again
timerCh = time.NewTimer(m.params.HistoricalRoundsPeriod).C
......
......@@ -67,8 +67,8 @@ func (m *Manager) getMessagesFromGateway(roundInfo *pb.RoundInfo,
"to request from")
}
jww.INFO.Printf("Getting messages for RoundID %v via Gateway: %s", rid,
gwHost.GetId())
jww.INFO.Printf("Getting messages for RoundID %v for EphID %d " +
"via Gateway: %s", rid, ephid, gwHost.GetId())
// send the request
msgReq := &pb.GetMessages{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment