Skip to content
Snippets Groups Projects
Commit 8f671d70 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

COB-4: log socket description

parent b6166080
No related branches found
No related tags found
1 merge request!6Import cobalt2 into lofar4
......@@ -101,10 +101,12 @@ namespace LOFAR
void Generator::logStatistics()
{
//TODO: packets per second
for( size_t nr = 0; nr < nrBoards; nr++ ) {
const Stream &s = *outputStreams[nr];
const std::string logPrefix(str(boost::format("[station %s board %u] [Generator] ") % stationID.name() % nr));
LOG_INFO_STR( logPrefix << nrSent[nr] << " packets sent.");
LOG_INFO_STR( logPrefix << nrSent[nr] << " packets sent via " << s.description());
nrSent[nr] = 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment