diff OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.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 d2f79a475b51
children 3b70a2e6a06c
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.cpp	Wed Nov 04 14:48:52 2020 +0100
+++ b/OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.cpp	Wed Nov 04 15:01:47 2020 +0100
@@ -227,15 +227,15 @@
     // The association must be re-negotiated
     if (association_->IsOpen())
     {
-      LOG(INFO) << "Re-negotiating DICOM association with "
-                << parameters_.GetRemoteModality().GetApplicationEntityTitle();
+      CLOG(INFO, DICOM) << "Re-negotiating DICOM association with "
+                        << parameters_.GetRemoteModality().GetApplicationEntityTitle();
 
       if (proposedOriginalClasses_.find(std::make_pair(sopClassUid, transferSyntax)) !=
           proposedOriginalClasses_.end())
       {
-        LOG(INFO) << "The remote modality has already rejected SOP class UID \""
-                  << sopClassUid << "\" with transfer syntax \""
-                  << GetTransferSyntaxUid(transferSyntax) << "\", don't renegotiate";
+        CLOG(INFO, DICOM) << "The remote modality has already rejected SOP class UID \""
+                          << sopClassUid << "\" with transfer syntax \""
+                          << GetTransferSyntaxUid(transferSyntax) << "\", don't renegotiate";
         return false;
       }
     }