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

COB-4: annotate station input streams with station id and rps board number for...

COB-4: annotate station input streams with station id and rps board number for easier debugging/logging
parent 81a82625
No related branches found
No related tags found
1 merge request!6Import cobalt2 into lofar4
......@@ -262,7 +262,7 @@ namespace LOFAR {
} else {
if (ps.settings.realTime) {
try {
stream = createStream(desc, true);
stream = createStream(desc, true, 0, str(format("from %s-RSP%u") % stationID.name() % board));
} catch (Exception &ex) {
LOG_ERROR_STR(logPrefix << "Caught exception creating stream (continuing on /dev/null): " << ex.what());
stream = new FileStream("/dev/null"); /* will read end-of-stream: avoid spamming illegal packets */
......
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