Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.cpp @ 1331:77e129ba64e4
Prevent freeze on C-FIND if no DICOM tag is to be returned
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 12 Mar 2015 10:47:32 +0100 |
parents | 61ce8147f30d |
children | 382439943749 |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp Wed Mar 11 16:57:01 2015 +0100 +++ b/OrthancServer/ServerIndex.cpp Thu Mar 12 10:47:32 2015 +0100 @@ -148,7 +148,7 @@ virtual void SignalRemainingAncestor(ResourceType parentType, const std::string& publicId) { - LOG(INFO) << "Remaining ancestor \"" << publicId << "\" (" << parentType << ")"; + VLOG(1) << "Remaining ancestor \"" << publicId << "\" (" << parentType << ")"; if (hasRemainingLevel_) { @@ -175,9 +175,9 @@ virtual void SignalChange(const ServerIndexChange& change) { - LOG(INFO) << "Change related to resource " << change.GetPublicId() << " of type " - << EnumerationToString(change.GetResourceType()) << ": " - << EnumerationToString(change.GetChangeType()); + VLOG(1) << "Change related to resource " << change.GetPublicId() << " of type " + << EnumerationToString(change.GetResourceType()) << ": " + << EnumerationToString(change.GetChangeType()); if (insideTransaction_) { @@ -1316,7 +1316,7 @@ throw OrthancException(ErrorCode_FullStorage); } - LOG(INFO) << "Recycling one patient"; + VLOG(1) << "Recycling one patient"; db_.DeleteResource(patientToRecycle); if (!IsRecyclingNeeded(instanceSize))