Commit aeee93c0 authored by Eric Cano's avatar Eric Cano
Browse files

Added pre-open message for disk files to debug issues in production servers.

parent e267869a
......@@ -75,9 +75,10 @@ bool DiskWriteTask::execute(RecallReportPacker& reporter,log::LogContext& lc,
// If we got that far on the first pass, it's now good enough to open
// the disk file for writing...
if (!writeFile.get()) {
lc.log(LOG_INFO, "About to open disk file for writing");
writeFile.reset(fileFactory.createWriteFile(m_recallingFile->path()));
URLcontext.add("actualURL", writeFile->URL());
lc.log(LOG_INFO, "Opened disk file for write");
lc.log(LOG_INFO, "Opened disk file for writing");
m_stats.openingTime+=localTime.secs(castor::utils::Timer::resetCounter);
}
......
Markdown is supported
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