Skip to content

Commit d656f3f

Browse files
committed
Promoting DPL errors relevant to the ECS shifter to critical, leaving messages to be ignored at error
1 parent 0a11a79 commit d656f3f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Detectors/TPC/workflow/src/IDCToVectorSpec.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ class IDCToVectorDevice : public o2::framework::Task
405405

406406
for (const auto& inf : infVec) {
407407
if (!inf.hasBothEPs()) {
408-
LOGP(error, "IDC CRU {:3}: data missing at ({:8}, {:4}) for one or both end points {:02b} in TF {}", cru, inf.heartbeatOrbit, inf.heartbeatBC, inf.epSeen, tfCounter);
408+
LOGP(critical, "IDC CRU {:3}: data missing at ({:8}, {:4}) for one or both end points {:02b} in TF {}", cru, inf.heartbeatOrbit, inf.heartbeatBC, inf.epSeen, tfCounter);
409409
hasErrors = true;
410410
}
411411
}
@@ -417,12 +417,12 @@ class IDCToVectorDevice : public o2::framework::Task
417417
}
418418

419419
if (packetsInTF != infVec.size()) {
420-
LOGP(error, "IDC CRU {:3}: number of IDC packets {} does not match max over all CRUs {} in TF {}", cru, packetsInTF, infVec.size(), tfCounter);
420+
LOGP(critical, "IDC CRU {:3}: number of IDC packets {} does not match max over all CRUs {} in TF {}", cru, packetsInTF, infVec.size(), tfCounter);
421421
hasErrors = true;
422422
}
423423

424424
if (!std::equal(infVecComp->begin(), infVecComp->end(), infVec.begin())) {
425-
LOGP(error, "IDC CRU {:3}: mismatch in orbit numbers", cru);
425+
LOGP(critical, "IDC CRU {:3}: mismatch in orbit numbers", cru);
426426
hasErrors = true;
427427
}
428428
}

Framework/Core/src/CommonServices.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ auto decongestionCallbackOrdered = [](AsyncTask& task, size_t id) -> void {
579579
if (state.transitionHandling != TransitionHandlingState::NoTransition && DefaultsHelpers::onlineDeploymentMode()) {
580580
O2_SIGNPOST_EVENT_EMIT_WARN(async_queue, cid, "oldest_possible_timeslice", "Stop transition requested. Some Lifetime::Timeframe data got dropped starting at %" PRIi64, oldNextTimeslice);
581581
} else {
582-
O2_SIGNPOST_EVENT_EMIT_ERROR(async_queue, cid, "oldest_possible_timeslice", "Some Lifetime::Timeframe data got dropped starting at %" PRIi64, oldNextTimeslice);
582+
O2_SIGNPOST_EVENT_EMIT_CRITICAL(async_queue, cid, "oldest_possible_timeslice", "Some Lifetime::Timeframe data got dropped starting at %" PRIi64, oldNextTimeslice);
583583
}
584584
timesliceIndex.rescan();
585585
}
@@ -650,7 +650,7 @@ o2::framework::ServiceSpec
650650
if (state.transitionHandling != TransitionHandlingState::NoTransition && DefaultsHelpers::onlineDeploymentMode()) {
651651
O2_SIGNPOST_EVENT_EMIT_WARN(data_processor_context, cid, "oldest_possible_timeslice", "Stop transition requested. Some Lifetime::Timeframe data got dropped starting at %" PRIi64, oldNextTimeslice);
652652
} else {
653-
O2_SIGNPOST_EVENT_EMIT_ERROR(data_processor_context, cid, "oldest_possible_timeslice", "Some Lifetime::Timeframe data got dropped starting at %" PRIi64, oldNextTimeslice);
653+
O2_SIGNPOST_EVENT_EMIT_CRITICAL(data_processor_context, cid, "oldest_possible_timeslice", "Some Lifetime::Timeframe data got dropped starting at %" PRIi64, oldNextTimeslice);
654654
}
655655
timesliceIndex.rescan();
656656
}

0 commit comments

Comments
 (0)