diff --git a/Detectors/TPC/workflow/src/IDCToVectorSpec.cxx b/Detectors/TPC/workflow/src/IDCToVectorSpec.cxx index 27dbcf5d85bbf..e9433c775a02a 100644 --- a/Detectors/TPC/workflow/src/IDCToVectorSpec.cxx +++ b/Detectors/TPC/workflow/src/IDCToVectorSpec.cxx @@ -405,7 +405,7 @@ class IDCToVectorDevice : public o2::framework::Task for (const auto& inf : infVec) { if (!inf.hasBothEPs()) { - 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); + 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); hasErrors = true; } } @@ -417,12 +417,12 @@ class IDCToVectorDevice : public o2::framework::Task } if (packetsInTF != infVec.size()) { - LOGP(error, "IDC CRU {:3}: number of IDC packets {} does not match max over all CRUs {} in TF {}", cru, packetsInTF, infVec.size(), tfCounter); + LOGP(critical, "IDC CRU {:3}: number of IDC packets {} does not match max over all CRUs {} in TF {}", cru, packetsInTF, infVec.size(), tfCounter); hasErrors = true; } if (!std::equal(infVecComp->begin(), infVecComp->end(), infVec.begin())) { - LOGP(error, "IDC CRU {:3}: mismatch in orbit numbers", cru); + LOGP(critical, "IDC CRU {:3}: mismatch in orbit numbers", cru); hasErrors = true; } } diff --git a/Framework/Core/src/CommonServices.cxx b/Framework/Core/src/CommonServices.cxx index 95836adc02171..cc3c920bc7be1 100644 --- a/Framework/Core/src/CommonServices.cxx +++ b/Framework/Core/src/CommonServices.cxx @@ -579,7 +579,7 @@ auto decongestionCallbackOrdered = [](AsyncTask& task, size_t id) -> void { if (state.transitionHandling != TransitionHandlingState::NoTransition && DefaultsHelpers::onlineDeploymentMode()) { O2_SIGNPOST_EVENT_EMIT_WARN(async_queue, cid, "oldest_possible_timeslice", "Stop transition requested. Some Lifetime::Timeframe data got dropped starting at %" PRIi64, oldNextTimeslice); } else { - O2_SIGNPOST_EVENT_EMIT_ERROR(async_queue, cid, "oldest_possible_timeslice", "Some Lifetime::Timeframe data got dropped starting at %" PRIi64, oldNextTimeslice); + O2_SIGNPOST_EVENT_EMIT_CRITICAL(async_queue, cid, "oldest_possible_timeslice", "Some Lifetime::Timeframe data got dropped starting at %" PRIi64, oldNextTimeslice); } timesliceIndex.rescan(); } @@ -650,7 +650,7 @@ o2::framework::ServiceSpec if (state.transitionHandling != TransitionHandlingState::NoTransition && DefaultsHelpers::onlineDeploymentMode()) { 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); } else { - O2_SIGNPOST_EVENT_EMIT_ERROR(data_processor_context, cid, "oldest_possible_timeslice", "Some Lifetime::Timeframe data got dropped starting at %" PRIi64, oldNextTimeslice); + O2_SIGNPOST_EVENT_EMIT_CRITICAL(data_processor_context, cid, "oldest_possible_timeslice", "Some Lifetime::Timeframe data got dropped starting at %" PRIi64, oldNextTimeslice); } timesliceIndex.rescan(); } diff --git a/Utilities/EPNMonitoring/src/EPNstderrMonitor.cxx b/Utilities/EPNMonitoring/src/EPNstderrMonitor.cxx index b625ab344e112..d7a7282a78684 100644 --- a/Utilities/EPNMonitoring/src/EPNstderrMonitor.cxx +++ b/Utilities/EPNMonitoring/src/EPNstderrMonitor.cxx @@ -77,7 +77,7 @@ class EPNMonitor std::unordered_map mFiles; std::string mPath; std::vector mFilters; - std::unordered_map> mMapRootLogTypes; + std::unordered_map> mMapLogTypes; volatile unsigned int mRunNumber; std::string mPartition; unsigned int nLines = 0; @@ -95,12 +95,11 @@ EPNMonitor::EPNMonitor(std::string path, bool infoLogger, int runNumber, std::st mFilters.emplace_back("^Warning in {InfoLogger::InfoLogger::Severity::Info, 13}); - mMapRootLogTypes.emplace("Print in <", std::pair{InfoLogger::InfoLogger::Severity::Info, 13}); - mMapRootLogTypes.emplace("Warning in <", std::pair{InfoLogger::InfoLogger::Severity::Warning, 11}); - mMapRootLogTypes.emplace("Error in <", std::pair{InfoLogger::InfoLogger::Severity::Error, 2}); - mMapRootLogTypes.emplace("Fatal in <", std::pair{InfoLogger::InfoLogger::Severity::Fatal, 1}); - mMapRootLogTypes.emplace("*** Break ***", std::pair{InfoLogger::InfoLogger::Severity::Fatal, 1}); + mMapLogTypes.emplace("(core dumped)", std::pair{InfoLogger::InfoLogger::Severity::Error, 1}); + mMapLogTypes.emplace("Warning in <", std::pair{InfoLogger::InfoLogger::Severity::Warning, 11}); + mMapLogTypes.emplace("Error in <", std::pair{InfoLogger::InfoLogger::Severity::Error, 2}); + mMapLogTypes.emplace("Fatal in <", std::pair{InfoLogger::InfoLogger::Severity::Fatal, 1}); + mMapLogTypes.emplace("*** Break ***", std::pair{InfoLogger::InfoLogger::Severity::Fatal, 1}); mInfoLoggerActive = infoLogger; mPath = path; mRunNumber = runNumber; @@ -214,7 +213,7 @@ void EPNMonitor::thread() // assign proper severity / level for remaining ROOT log messages auto severity{InfoLogger::InfoLogger::Severity::Error}; int level{3}; - for (const auto& logType : mMapRootLogTypes) { + for (const auto& logType : mMapLogTypes) { if (line.find(logType.first) != std::string::npos) { severity = std::get(logType.second); level = std::get(logType.second);