Commit 337f8638 authored by Cristina Moraru's avatar Cristina Moraru Committed by Steven Murray
Browse files

Change printed params in logs



Signed-off-by: default avatarCristina Moraru <cristina-gabriela.moraru@cern.ch>
parent 16240d89
......@@ -213,15 +213,15 @@ bool RecallTaskInjector::synchronousFetch()
} catch (cta::exception::Exception & ex) {
cta::log::ScopedParamContainer scoped(m_lc);
scoped.add("transactionId", m_retrieveMount.getMountTransactionId())
.add("byteSizeThreshold",m_maxBytes)
.add("maxFiles", m_maxFiles)
.add("byteSizeThreshold",reqSize)
.add("requestedFiles", reqFiles)
.add("message", ex.getMessageValue());
m_lc.log(cta::log::ERR, "Failed to getFilesToRecall");
return false;
}
cta::log::ScopedParamContainer scoped(m_lc);
scoped.add("byteSizeThreshold",m_maxBytes)
.add("maxFiles", m_maxFiles);
scoped.add("byteSizeThreshold",reqSize)
.add("requestedFiles", reqFiles);
if(m_jobs.empty()) {
m_lc.log(cta::log::ERR, "No files to recall: empty mount");
return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment