Commit 6001894f authored by Cedric Caffy's avatar Cedric Caffy
Browse files

[tapeserver] In the case the DiskWriteTask for a file fails, the log contains...

[tapeserver] In the case the DiskWriteTask for a file fails, the log contains its size and its checksumblob
parent 2bce5e4d
Pipeline #958 passed with stages
in 14 minutes and 30 seconds
......@@ -167,6 +167,8 @@ void DiskReadTask::execute(cta::log::LogContext& lc, cta::disk::DiskFileFactory
LogContext::ScopedParam sp(lc, Param("blockID",blockId));
LogContext::ScopedParam sp0(lc, Param("exceptionMessage", e.getMessageValue()));
LogContext::ScopedParam sp1(lc,Param("fileSize",m_archiveJob->archiveFile.fileSize));
LogContext::ScopedParam sp2(lc,Param("checksumBlob",m_archiveJob->archiveFile.checksumBlob));
lc.log(cta::log::ERR,"Exception while reading a file");
//deal here the number of mem block
......
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