Skip to content

Commit 1eae316

Browse files
authored
[Common] eventSelectionService: Set correct logger severity for warnings (#14171)
1 parent e2248e9 commit 1eae316

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Common/TableProducer/eventSelectionService.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -188,20 +188,20 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
188188

189189
LOGF(info, "Event selection autoconfiguring from metadata. Availability of info for Run 2/3 is %i", hasRunInfo);
190190
if (!hasRunInfo) {
191-
LOGF(info, "Metadata info missing or incomplete. Make sure --aod-file is provided at the end of the last workflow and that the AO2D has metadata stored.");
192-
LOGF(info, "Initializing with Run 3 data as default. Please note you will not be able to change settings manually.");
193-
LOGF(info, "You should instead make sure the metadata is read in correctly.");
191+
LOGF(warn, "Metadata info missing or incomplete. Make sure --aod-file is provided at the end of the last workflow and that the AO2D has metadata stored.");
192+
LOGF(warn, "Initializing with Run 3 data as default. Please note you will not be able to change settings manually.");
193+
LOGF(warn, "You should instead make sure the metadata is read in correctly.");
194194
return WorkflowSpec{adaptAnalysisTask<eventselectionRun3>(cfgc)};
195195
} else {
196196
LOGF(info, "Metadata successfully read in. Is this Run 3? %i - will self-configure.", isRun3);
197197
if (isRun3) {
198198
return WorkflowSpec{adaptAnalysisTask<eventselectionRun3>(cfgc)};
199199
} else {
200-
LOGF(info, "******************************************************************");
201-
LOGF(info, " Event selection service self-configuring for Run 2.");
202-
LOGF(info, " WARNING: THIS HAS NOT BEEN VALIDATED YET, USE WITH CAUTION");
203-
LOGF(info, " If this fails, please use event-selection-service-run2 instead.");
204-
LOGF(info, "******************************************************************");
200+
LOGF(warn, "******************************************************************");
201+
LOGF(warn, " Event selection service self-configuring for Run 2.");
202+
LOGF(warn, " WARNING: THIS HAS NOT BEEN VALIDATED YET, USE WITH CAUTION");
203+
LOGF(warn, " If this fails, please use event-selection-service-run2 instead.");
204+
LOGF(warn, "******************************************************************");
205205
return WorkflowSpec{adaptAnalysisTask<eventselectionRun2>(cfgc)};
206206
}
207207
}

0 commit comments

Comments
 (0)