|
8 | 8 | // In applying this license CERN does not waive the privileges and immunities |
9 | 9 | // granted to it by virtue of its status as an Intergovernmental Organization |
10 | 10 | // or submit itself to any jurisdiction. |
| 11 | +#include "Framework/DeviceState.h" |
11 | 12 | #include "Framework/RootSerializationSupport.h" |
12 | 13 | #include "Framework/DataRelayer.h" |
13 | 14 | #include "Framework/DataProcessingStats.h" |
|
43 | 44 | #include <Monitoring/Metric.h> |
44 | 45 | #include <Monitoring/Monitoring.h> |
45 | 46 |
|
| 47 | +#include <fairlogger/Logger.h> |
46 | 48 | #include <fairmq/Channel.h> |
47 | 49 | #include <fmt/format.h> |
48 | 50 | #include <fmt/ostream.h> |
@@ -335,7 +337,11 @@ void DataRelayer::setOldestPossibleInput(TimesliceId proposed, ChannelIndex chan |
335 | 337 | if (element.size() == 0) { |
336 | 338 | auto& state = mContext.get<DeviceState>(); |
337 | 339 | if (state.transitionHandling != TransitionHandlingState::NoTransition && DefaultsHelpers::onlineDeploymentMode()) { |
338 | | - LOGP(warning, "Missing {} (lifetime:{}) while dropping incomplete data in slot {} with timestamp {} < {}.", DataSpecUtils::describe(input), input.lifetime, si, timestamp.value, newOldest.timeslice.value); |
| 340 | + if (state.allowedProcessing == DeviceState::CalibrationOnly) { |
| 341 | + LOGP(info, "Missing {} (lifetime:{}) while dropping non-calibration data in slot {} with timestamp {} < {}.", DataSpecUtils::describe(input), input.lifetime, si, timestamp.value, newOldest.timeslice.value); |
| 342 | + } else { |
| 343 | + LOGP(warn, "Missing {} (lifetime:{}) while dropping incomplete data in slot {} with timestamp {} < {}.", DataSpecUtils::describe(input), input.lifetime, si, timestamp.value, newOldest.timeslice.value); |
| 344 | + } |
339 | 345 | } else { |
340 | 346 | LOGP(error, "Missing {} (lifetime:{}) while dropping incomplete data in slot {} with timestamp {} < {}.", DataSpecUtils::describe(input), input.lifetime, si, timestamp.value, newOldest.timeslice.value); |
341 | 347 | } |
|
0 commit comments