Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomNetworking/Internals/MoveScp.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 | 6774605d4341 |
children | 526bd8bad850 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/Internals/MoveScp.cpp Wed Nov 04 14:48:52 2020 +0100 +++ b/OrthancFramework/Sources/DicomNetworking/Internals/MoveScp.cpp Wed Nov 04 15:01:47 2020 +0100 @@ -136,8 +136,8 @@ } catch (boost::bad_lexical_cast&) { - LOG(WARNING) << "Cannot convert the Message ID (\"" << value->GetContent() - << "\") of an incoming C-MOVE request to an integer, assuming zero"; + CLOG(WARNING, DICOM) << "Cannot convert the Message ID (\"" << value->GetContent() + << "\") of an incoming C-MOVE request to an integer, assuming zero"; } } @@ -195,7 +195,7 @@ catch (OrthancException& e) { // Internal error! - LOG(ERROR) << "IMoveRequestHandler Failed: " << e.What(); + CLOG(ERROR, DICOM) << "IMoveRequestHandler Failed: " << e.What(); response->DimseStatus = STATUS_MOVE_Failed_UnableToProcess; return; } @@ -224,7 +224,7 @@ catch (OrthancException& e) { // Internal error! - LOG(ERROR) << "IMoveRequestHandler Failed: " << e.What(); + CLOG(ERROR, DICOM) << "IMoveRequestHandler Failed: " << e.What(); response->DimseStatus = STATUS_MOVE_Failed_UnableToProcess; return; } @@ -282,7 +282,7 @@ if (cond.bad()) { OFString temp_str; - LOG(ERROR) << "Move SCP Failed: " << cond.text(); + CLOG(ERROR, DICOM) << "Move SCP Failed: " << cond.text(); } return cond;