Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp @ 4272:1661544ea94d
LogCategory_REST
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 07:19:33 +0100 |
parents | d962a2996637 |
children | 0923247e69f6 |
comparison
equal
deleted
inserted
replaced
4271:1bd14c900699 | 4272:1661544ea94d |
---|---|
1585 context.GetIndex().LookupIdentifierExact( | 1585 context.GetIndex().LookupIdentifierExact( |
1586 orthancId, ResourceType_Instance, DICOM_TAG_SOP_INSTANCE_UID, sopInstanceUids[i]); | 1586 orthancId, ResourceType_Instance, DICOM_TAG_SOP_INSTANCE_UID, sopInstanceUids[i]); |
1587 | 1587 |
1588 for (size_t j = 0; j < orthancId.size(); j++) | 1588 for (size_t j = 0; j < orthancId.size(); j++) |
1589 { | 1589 { |
1590 LOG(INFO) << "Storage commitment - Removing SOP instance UID / Orthanc ID: " | 1590 CLOG(INFO, REST) << "Storage commitment - Removing SOP instance UID / Orthanc ID: " |
1591 << sopInstanceUids[i] << " / " << orthancId[j]; | 1591 << sopInstanceUids[i] << " / " << orthancId[j]; |
1592 | 1592 |
1593 Json::Value tmp; | 1593 Json::Value tmp; |
1594 context.GetIndex().DeleteResource(tmp, orthancId[j], ResourceType_Instance); | 1594 context.GetIndex().DeleteResource(tmp, orthancId[j], ResourceType_Instance); |
1595 } | 1595 } |
1596 } | 1596 } |