Skip to content
Snippets Groups Projects
Commit dc09cfaf authored by mvelosob's avatar mvelosob
Browse files

fix log level for beging error message in the objectstore garbage collector

parent 08ce1865
No related branches found
No related tags found
No related merge requests found
......@@ -455,8 +455,7 @@ void GarbageCollector::OwnedObjectSorter::executeArchiveAlgorithm(std::list<std:
.add("copyNb", arup.copyNb)
.add("fileId", arup.archiveRequest->getArchiveFile().archiveFileID)
.add("exceptionType", debugType);
int logLevel = typeid(e) == typeid(cta::exception::NoSuchObject) ? log::WARNING : log::ERR;
lc.log(logLevel,
lc.log(log::INFO,
"In GarbageCollector::OwnedObjectSorter::lockFetchAndUpdateArchiveJobs(): "
"failed to requeue gone/not owned archive job. Removed from queue.");
} else {
......
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