changeset 6343:d4e2fed7bfff

display move progress messages in trace-dicom logs
author Alain Mazy <am@orthanc.team>
date Tue, 21 Oct 2025 12:42:36 +0200
parents b5a71c33e462
children f8110e8449b9
files OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp	Tue Oct 21 12:06:40 2025 +0200
+++ b/OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp	Tue Oct 21 12:42:36 2025 +0200
@@ -412,6 +412,10 @@
     DicomControlUserConnection::IProgressListener* listener = reinterpret_cast<DicomControlUserConnection::IProgressListener*>(callbackData);
     if (listener)
     {
+      OFString str;
+      CLOG(TRACE, DICOM) << "Received Move Progress:" << std::endl
+                         << DIMSE_dumpMessage(str, *response, DIMSE_INCOMING);
+
       listener->OnProgressUpdated(response->NumberOfRemainingSubOperations,
                                   response->NumberOfCompletedSubOperations,
                                   response->NumberOfFailedSubOperations,