Skip to content
Snippets Groups Projects
Commit bddf6f5d 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 b541980b
No related branches found
No related tags found
No related merge requests found
...@@ -167,6 +167,8 @@ void DiskReadTask::execute(cta::log::LogContext& lc, cta::disk::DiskFileFactory ...@@ -167,6 +167,8 @@ void DiskReadTask::execute(cta::log::LogContext& lc, cta::disk::DiskFileFactory
LogContext::ScopedParam sp(lc, Param("blockID",blockId)); LogContext::ScopedParam sp(lc, Param("blockID",blockId));
LogContext::ScopedParam sp0(lc, Param("exceptionMessage", e.getMessageValue())); 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"); lc.log(cta::log::ERR,"Exception while reading a file");
//deal here the number of mem block //deal here the number of mem block
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment