Skip to content

Commit 94d797d

Browse files
committed
promoted errors causing fatal to OPS
1 parent 2849365 commit 94d797d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

doc/releaseNotes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,3 +666,6 @@ This file describes the main feature changes for each readout.exe released versi
666666
- Added configuration parameters:
667667
- readout.externalSyncServer and readout.externalSyncTimeout, to connect and wait at START for a sync signal sent by o2-readout-sync-server.
668668
- Added o2-readout-sync-server utility, to generate a sync signal in order to start multiple readout replay instances synchronously. (implemented with ZMQ REQ/REP).
669+
670+
## next
671+
- Promoted to OPS level the log messages causing a fatal error in "running" state. These are currently the RDH and HB orbit issues in the first timeframe.

src/ReadoutEquipment.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ uint64_t ReadoutEquipment::getTimeframeFromOrbit(uint32_t hbOrbit)
694694
theLog.log(LogInfoDevel_(3011), "Equipment %s : first HB orbit = %X", name.c_str(), (unsigned int)firstTimeframeHbOrbitBegin);
695695
if (!isOk) {
696696
if (cfgRdhCheckFirstOrbit) {
697-
theLog.log(LogErrorSupport_(3241), "Equipment %s : first HB orbit is different from other equipments", name.c_str());
697+
theLog.log(LogErrorOps_(3241), "Equipment %s : first HB orbit is different from other equipments", name.c_str());
698698
isFatalError++;
699699
}
700700
}
@@ -866,7 +866,7 @@ int ReadoutEquipment::processRdh(DataBlockContainerReference& block)
866866
} else {
867867
if ((cfgRdhCheckFirstOrbit) && (currentBlockId == 0)) {
868868
// if 1st RDH received is wrong, it's the same as a wrong orbit
869-
theLog.log(LogErrorSupport_(3241), "Equipment %s : first RDH is wrong", name.c_str());
869+
theLog.log(LogErrorOps_(3241), "Equipment %s : first RDH is wrong", name.c_str());
870870
isFatalError++;
871871
}
872872
}
@@ -898,7 +898,7 @@ int ReadoutEquipment::processRdh(DataBlockContainerReference& block)
898898
if (!equipmentLinksData[linkId].firstOrbitIsDefined) {
899899
if (orbitId != firstLinkOrbit) {
900900
if (cfgRdhCheckFirstOrbit) {
901-
theLog.log(LogErrorSupport_(3241), "Equipment %s : first HB orbit of link %d is different from first link(%d): 0x%X != 0x%X", name.c_str(), linkId, firstLinkId, orbitId, firstLinkOrbit);
901+
theLog.log(LogErrorOps_(3241), "Equipment %s : first HB orbit of link %d is different from first link(%d): 0x%X != 0x%X", name.c_str(), linkId, firstLinkId, orbitId, firstLinkOrbit);
902902
isFatalError++;
903903
}
904904
} else {

0 commit comments

Comments
 (0)