From 41f9fb7827f0120e60c1dd397a3e21729b560efd Mon Sep 17 00:00:00 2001 From: Cristina Moraru <cristina-gabriela.moraru@cern.ch> Date: Thu, 28 Sep 2017 16:35:10 +0200 Subject: [PATCH] Change printed params in logs Signed-off-by: Cristina Moraru <cristina-gabriela.moraru@cern.ch> --- .../castor/tape/tapeserver/daemon/RecallTaskInjector.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.cpp b/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.cpp index 753aaef8cd..1c12dbcfda 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.cpp @@ -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; -- GitLab