Skip to content

Commit e08220e

Browse files
committed
DPL: Explicitly printout the last file read.
1 parent 2673d51 commit e08220e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Framework/AnalysisSupport/src/Plugin.cxx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,13 @@ struct RunSummary : o2::framework::ServicePlugin {
7272
if (metric.filledMetrics) {
7373
LOGP(info, "### Files read stats ###");
7474
}
75+
std::string lastFileRead;
7576
for (size_t fi = 0; fi < metric.filledMetrics; ++fi) {
76-
LOGP(info, "{}", files[fi % files.size()].data);
77+
lastFileRead = files[fi % files.size()].data;
78+
LOGP(info, "{}", lastFileRead);
79+
}
80+
if (lastFileRead.empty() == false) {
81+
LOGP(info, "Last file read: {}", lastFileRead);
7782
}
7883
}
7984
} },

0 commit comments

Comments
 (0)