Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomNetworking/Internals/GetScp.cpp @ 4284:756126cd2219
moving all logs from DicomNetworking folder into the "dicom" category
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 04 Nov 2020 15:01:47 +0100 |
parents | 6f5d4bfb2c90 |
children | 526bd8bad850 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/Internals/GetScp.cpp Wed Nov 04 14:48:52 2020 +0100 +++ b/OrthancFramework/Sources/DicomNetworking/Internals/GetScp.cpp Wed Nov 04 15:01:47 2020 +0100 @@ -220,7 +220,7 @@ catch (OrthancException& e) { // Internal error! - LOG(ERROR) << "IGetRequestHandler Failed: " << e.What(); + CLOG(ERROR, DICOM) << "IGetRequestHandler Failed: " << e.What(); response->DimseStatus = STATUS_GET_Failed_UnableToProcess; return; } @@ -230,14 +230,14 @@ else if (data.lastRequest_ != requestIdentifiers) { // Internal error! - LOG(ERROR) << "IGetRequestHandler Failed: Internal error lastRequestIdentifier"; + CLOG(ERROR, DICOM) << "IGetRequestHandler Failed: Internal error lastRequestIdentifier"; response->DimseStatus = STATUS_GET_Failed_UnableToProcess; return; } if (data.canceled_) { - LOG(ERROR) << "IGetRequestHandler Failed: Cannot pursue a request that was canceled by the SCU"; + CLOG(ERROR, DICOM) << "IGetRequestHandler Failed: Cannot pursue a request that was canceled by the SCU"; response->DimseStatus = STATUS_GET_Failed_UnableToProcess; return; } @@ -261,7 +261,7 @@ catch (OrthancException& e) { // Internal error! - LOG(ERROR) << "IGetRequestHandler Failed: " << e.What(); + CLOG(ERROR, DICOM) << "IGetRequestHandler Failed: " << e.What(); FillResponse(*response, responseIdentifiers, *data.handler_); // Fix the status code that is computed by "FillResponse()" @@ -311,7 +311,7 @@ if (cond.bad()) { OFString temp_str; - LOG(ERROR) << "Get SCP Failed: " << cond.text(); + CLOG(ERROR, DICOM) << "Get SCP Failed: " << cond.text(); } return cond;