Skip to content

Commit

Permalink
Denote deadbeef error to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
martenole authored and davidrohr committed Sep 25, 2023
1 parent 40ab19e commit 2597070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/Core/src/ExternalFairMQDeviceProxy.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ void injectMissingData(fair::mq::Device& device, fair::mq::Parts& parts, std::ve
static int maxWarn = 10; // Correct would be o2::conf::VerbosityConfig::Instance().maxWarnDeadBeef, but Framework does not depend on CommonUtils..., but not so critical since receives will send correct number of DEADBEEF messages
static int contDeadBeef = 0;
if (++contDeadBeef <= maxWarn) {
LOGP(error, "Found {}/{} data specs, missing data specs: {}, injecting 0xDEADBEEF", present.size() - unmatchedDescriptions.size(), present.size(), missing);
LOGP(alarm, "Found {}/{} data specs, missing data specs: {}, injecting 0xDEADBEEF", present.size() - unmatchedDescriptions.size(), present.size(), missing);
}
}
}
Expand Down

0 comments on commit 2597070

Please sign in to comment.