Skip to content
Snippets Groups Projects
Commit 80cc1ffc authored by Eric Cano's avatar Eric Cano
Browse files

#471 Added logging of activity parameter in frontend.

parent c584b785
No related branches found
No related tags found
No related merge requests found
...@@ -503,6 +503,10 @@ void RequestMessage::processPREPARE(const cta::eos::Notification &notification, ...@@ -503,6 +503,10 @@ void RequestMessage::processPREPARE(const cta::eos::Notification &notification,
// Create a log entry // Create a log entry
cta::log::ScopedParamContainer params(m_lc); cta::log::ScopedParamContainer params(m_lc);
params.add("fileId", request.archiveFileID).add("schedulerTime", t.secs()); params.add("fileId", request.archiveFileID).add("schedulerTime", t.secs());
try {
// Print out the received activity in the logs for the moment.
params.add("activity", notification.file().xattr().at("activity"));
} catch (...) {}
m_lc.log(cta::log::INFO, "In RequestMessage::processPREPARE(): queued file for retrieve."); m_lc.log(cta::log::INFO, "In RequestMessage::processPREPARE(): queued file for retrieve.");
// Set response type // Set response type
......
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