Commit 3bd5e6a0 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed parameter name for NSFILEID in some logs.

parent c4e40816
......@@ -55,7 +55,7 @@ bool DiskWriteTask::execute(RecallReportPacker& reporter,log::LogContext& lc,
// after getting a first correct memory block.
std::auto_ptr<tape::diskFile::WriteFile> writeFile;
log::ScopedParamContainer URLcontext(lc);
URLcontext.add("",m_recallingFile->fileid())
URLcontext.add("NSFILEID",m_recallingFile->fileid())
.add("path", m_recallingFile->path());
int blockId = 0;
......
......@@ -379,8 +379,8 @@ private:
virtual void logStuckFile() {
castor::log::ScopedParamContainer params(m_lc);
params.add("TimeSinceLastBlockMove", m_blockMovementTimer.usecs())
.add("Path",m_file.path())
.add("FILEID",m_file.fileid())
.add("path",m_file.path())
.add("NSFILEID",m_file.fileid())
.add("fSeq",m_file.fseq());
m_lc.log(LOG_WARNING, "No tape block movement for too long");
}
......
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