Commit dee7e5aa authored by Steven Murray's avatar Steven Murray
Browse files

Corrected some confusing tapeserverd logs

parent c616c888
......@@ -376,7 +376,7 @@ castor::tape::tapeserver::daemon::Session::EndOfSessionAction
// Just log this was an empty mount and that's it. The memory management
// will be deallocated automatically.
lc.log(LOG_ERR, "Aborting migration mount startup: empty mount");
log::LogContext::ScopedParam sp1(lc, log::Param("errorMessage", "Aborted: empty recall mount"));
log::LogContext::ScopedParam sp1(lc, log::Param("errorMessage", "Aborted: empty migration mount"));
log::LogContext::ScopedParam sp2(lc, log::Param("errorCode", SEINTERNAL));
try {
client::ClientProxy::RequestReport reqReport;
......
......@@ -137,7 +137,7 @@ namespace daemon {
.add("byteSizeThreshold",m_maxBytes)
.add("maxFiles", m_maxFiles)
.add("message", ex.getMessageValue());
m_lc.log(LOG_ERR, "Failed to getFiledToRecall.");
m_lc.log(LOG_ERR, "Failed to getFilesToMigrate");
return false;
}
castor::log::ScopedParamContainer scoped(m_lc);
......
......@@ -157,7 +157,7 @@ bool RecallTaskInjector::synchronousInjection()
.add("byteSizeThreshold",m_maxBytes)
.add("maxFiles", m_maxFiles)
.add("message", ex.getMessageValue());
m_lc.log(LOG_ERR, "Failed to getFiledToRecall.");
m_lc.log(LOG_ERR, "Failed to getFilesToRecall");
return false;
}
castor::log::ScopedParamContainer scoped(m_lc);
......
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