Skip to content

Commit 96a47bf

Browse files
committed
Remaining fairLogger log level corrections
1 parent d66e330 commit 96a47bf

93 files changed

Lines changed: 184 additions & 184 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Detectors/AOD/src/AODProducerWorkflowSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1448,7 +1448,7 @@ void AODProducerWorkflowDPL::run(ProcessingContext& pc)
14481448

14491449
void AODProducerWorkflowDPL::endOfStream(EndOfStreamContext& ec)
14501450
{
1451-
LOGF(INFO, "aod producer dpl total timing: Cpu: %.3e Real: %.3e s in %d slots",
1451+
LOGF(info, "aod producer dpl total timing: Cpu: %.3e Real: %.3e s in %d slots",
14521452
mTimer.CpuTime(), mTimer.RealTime(), mTimer.Counter() - 1);
14531453
}
14541454

Detectors/Align/Workflow/src/BarrelAlignmentSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void BarrelAlignmentSpec::run(ProcessingContext& pc)
106106
void BarrelAlignmentSpec::endOfStream(EndOfStreamContext& ec)
107107
{
108108
//mBarrelAlign.end();
109-
LOGF(INFO, "Barrel alignment data pereparation total timing: Cpu: %.3e Real: %.3e s in %d slots",
109+
LOGF(info, "Barrel alignment data pereparation total timing: Cpu: %.3e Real: %.3e s in %d slots",
110110
mTimer.CpuTime(), mTimer.RealTime(), mTimer.Counter() - 1);
111111
}
112112

Detectors/Base/include/DetectorsBase/CTFCoderBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class CTFCoderBase
5656
CTF::readFromTree(bufVec, *tree.get(), mDet.getName());
5757
if (bufVec.size()) {
5858
mExtHeader = static_cast<CTFDictHeader&>(CTF::get(bufVec.data())->getHeader());
59-
LOGP(INFO, "Found {} {} in {}", mDet.getName(), mExtHeader.asString(), dictPath);
59+
LOGP(info, "Found {} {} in {}", mDet.getName(), mExtHeader.asString(), dictPath);
6060
}
6161
}
6262
return bufVec;

Detectors/CPV/workflow/src/EntropyDecoderSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void EntropyDecoderSpec::run(ProcessingContext& pc)
6060

6161
void EntropyDecoderSpec::endOfStream(EndOfStreamContext& ec)
6262
{
63-
LOGF(INFO, "CPV Entropy Decoding total timing: Cpu: %.3e Real: %.3e s in %d slots",
63+
LOGF(info, "CPV Entropy Decoding total timing: Cpu: %.3e Real: %.3e s in %d slots",
6464
mTimer.CpuTime(), mTimer.RealTime(), mTimer.Counter() - 1);
6565
}
6666

Detectors/CPV/workflow/src/EntropyEncoderSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void EntropyEncoderSpec::run(ProcessingContext& pc)
5959

6060
void EntropyEncoderSpec::endOfStream(EndOfStreamContext& ec)
6161
{
62-
LOGF(INFO, "CPV Entropy Encoding total timing: Cpu: %.3e Real: %.3e s in %d slots",
62+
LOGF(info, "CPV Entropy Encoding total timing: Cpu: %.3e Real: %.3e s in %d slots",
6363
mTimer.CpuTime(), mTimer.RealTime(), mTimer.Counter() - 1);
6464
}
6565

Detectors/CPV/workflow/src/RawToDigitConverterSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ void RawToDigitConverterSpec::run(framework::ProcessingContext& ctx)
142142
if (dh->payloadSize == 0) { // send empty output
143143
auto maxWarn = o2::conf::VerbosityConfig::Instance().maxWarnDeadBeef;
144144
if (++contDeadBeef <= maxWarn) {
145-
LOGP(WARNING, "Found input [{}/{}/{:#x}] TF#{} 1st_orbit:{} Payload {} : assuming no payload for all links in this TF{}",
145+
LOGP(warning, "Found input [{}/{}/{:#x}] TF#{} 1st_orbit:{} Payload {} : assuming no payload for all links in this TF{}",
146146
dh->dataOrigin.str, dh->dataDescription.str, dh->subSpecification, dh->tfCounter, dh->firstTForbit, dh->payloadSize,
147147
contDeadBeef == maxWarn ? fmt::format(". {} such inputs in row received, stopping reporting", contDeadBeef) : "");
148148
}

Detectors/CTF/workflow/src/CTFReaderSpec.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ void CTFReaderSpec::stopReader()
117117
if (!mFileFetcher) {
118118
return;
119119
}
120-
LOGP(INFO, "CTFReader stops processing, {} files read, {} files failed", mFilesRead - mNFailedFiles, mNFailedFiles);
121-
LOGP(INFO, "CTF reading total timing: Cpu: {:.3f} Real: {:.3f} s for {} TFs in {} loops",
120+
LOGP(info, "CTFReader stops processing, {} files read, {} files failed", mFilesRead - mNFailedFiles, mNFailedFiles);
121+
LOGP(info, "CTF reading total timing: Cpu: {:.3f} Real: {:.3f} s for {} TFs in {} loops",
122122
mTimer.CpuTime(), mTimer.RealTime(), mCTFCounter, mFileFetcher->getNLoops());
123123
mRunning = false;
124124
mFileFetcher->stop();
@@ -189,7 +189,7 @@ void CTFReaderSpec::run(ProcessingContext& pc)
189189
processTF(pc);
190190
break;
191191
} else { // explict CTF ID selection list was provided and current entry is not selected
192-
LOGP(INFO, "Skipping CTF${} ({} of {} in {})", mCTFCounter, mCurrTreeEntry, mCTFTree->GetEntries(), mCTFFile->GetName());
192+
LOGP(info, "Skipping CTF${} ({} of {} in {})", mCTFCounter, mCurrTreeEntry, mCTFTree->GetEntries(), mCTFFile->GetName());
193193
checkTreeEntries();
194194
mCTFCounter++;
195195
continue;
@@ -276,7 +276,7 @@ void CTFReaderSpec::processTF(ProcessingContext& pc)
276276
mLastSendTime = tNow;
277277
}
278278
tNow = std::chrono::time_point_cast<std::chrono::microseconds>(std::chrono::system_clock::now()).time_since_epoch().count();
279-
LOGP(INFO, "Read CTF#{} {} in {:.3f} s, {:.4f} s elapsed from previous CTF", mCTFCounter, entryStr, mTimer.CpuTime() - cput, 1e-6 * (tNow - mLastSendTime));
279+
LOGP(info, "Read CTF#{} {} in {:.3f} s, {:.4f} s elapsed from previous CTF", mCTFCounter, entryStr, mTimer.CpuTime() - cput, 1e-6 * (tNow - mLastSendTime));
280280
mLastSendTime = tNow;
281281
mCTFCounter++;
282282
}

Detectors/CTF/workflow/src/CTFWriterSpec.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ void CTFWriterSpec::run(ProcessingContext& pc)
354354
size_t nc = 0;
355355
auto runNProp = std::stol(runNStr, &nc);
356356
if (nc != runNStr.size()) {
357-
LOGP(ERROR, "Property runNumber={} is provided but is not a number, ignoring", runNStr);
357+
LOGP(error, "Property runNumber={} is provided but is not a number, ignoring", runNStr);
358358
} else {
359359
mRun = runNProp;
360360
}
@@ -368,7 +368,7 @@ void CTFWriterSpec::run(ProcessingContext& pc)
368368
}
369369
}
370370
if ((oldRun != 0 && oldRun != mRun) || (!oldEnv.empty() && oldEnv != mEnvironmentID)) {
371-
LOGP(WARNING, "RunNumber/Environment changed from {}/{} to {}/{}", oldRun, oldEnv, mRun, mEnvironmentID);
371+
LOGP(warning, "RunNumber/Environment changed from {}/{} to {}/{}", oldRun, oldEnv, mRun, mEnvironmentID);
372372
closeTFTreeAndFile();
373373
}
374374
// check for the LHCPeriod
@@ -463,7 +463,7 @@ void CTFWriterSpec::finalize()
463463
if (mWriteCTF) {
464464
closeTFTreeAndFile();
465465
}
466-
LOGF(INFO, "CTF writing total timing: Cpu: %.3e Real: %.3e s in %d slots",
466+
LOGF(info, "CTF writing total timing: Cpu: %.3e Real: %.3e s in %d slots",
467467
mTimer.CpuTime(), mTimer.RealTime(), mTimer.Counter() - 1);
468468
mFinalized = true;
469469
}
@@ -482,7 +482,7 @@ void CTFWriterSpec::prepareTFTreeAndFile(const o2::header::DataHeader* dh)
482482
(mAccCTFSize && mMaxSize > mMinSize && ((mAccCTFSize + mCurrCTFSize) > mMaxSize))) { // this is not the 1st CTF in the file and the new size will exceed allowed max
483483
needToOpen = true;
484484
} else {
485-
LOGP(INFO, "Will add new CTF of estimated size {} to existing file of size {}", mCurrCTFSize, mAccCTFSize);
485+
LOGP(info, "Will add new CTF of estimated size {} to existing file of size {}", mCurrCTFSize, mAccCTFSize);
486486
}
487487
}
488488
if (needToOpen) {
@@ -715,7 +715,7 @@ size_t CTFWriterSpec::getAvailableDiskSpace(const std::string& path, int level)
715715
}
716716
const auto si = std::filesystem::space(path, ec);
717717
int64_t avail = int64_t(si.available) - nLocked * mChkSize + written; // account already written part of unfinished files
718-
LOGP(DEBUG, "{} CTF files open (curr.size: {}) -> can use {} of {} bytes", nLocked, written, avail, si.available);
718+
LOGP(debug, "{} CTF files open (curr.size: {}) -> can use {} of {} bytes", nLocked, written, avail, si.available);
719719
return avail > 0 ? avail : 0;
720720
}
721721

Detectors/CTP/workflow/src/EntropyDecoderSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void EntropyDecoderSpec::run(ProcessingContext& pc)
5959

6060
void EntropyDecoderSpec::endOfStream(EndOfStreamContext& ec)
6161
{
62-
LOGF(INFO, "CTP Entropy Decoding total timing: Cpu: %.3e Real: %.3e s in %d slots",
62+
LOGF(info, "CTP Entropy Decoding total timing: Cpu: %.3e Real: %.3e s in %d slots",
6363
mTimer.CpuTime(), mTimer.RealTime(), mTimer.Counter() - 1);
6464
}
6565

Detectors/CTP/workflow/src/EntropyEncoderSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void EntropyEncoderSpec::run(ProcessingContext& pc)
5858

5959
void EntropyEncoderSpec::endOfStream(EndOfStreamContext& ec)
6060
{
61-
LOGF(INFO, "CTP Entropy Encoding total timing: Cpu: %.3e Real: %.3e s in %d slots",
61+
LOGF(info, "CTP Entropy Encoding total timing: Cpu: %.3e Real: %.3e s in %d slots",
6262
mTimer.CpuTime(), mTimer.RealTime(), mTimer.Counter() - 1);
6363
}
6464

0 commit comments

Comments
 (0)