changeset 403:c3e9b74aab7a

log
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Apr 2013 12:05:21 +0200
parents d2c69150a979
children 4b9a7010b1ea
files OrthancServer/OrthancRestApi.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi.cpp	Tue Apr 30 11:50:51 2013 +0200
+++ b/OrthancServer/OrthancRestApi.cpp	Tue Apr 30 12:05:21 2013 +0200
@@ -266,6 +266,7 @@
     std::list<std::string> instances;
     if (request.isString())
     {
+      LOG(INFO) << "Sending resource " << request.asString() << " to modality " << remote;
       context.GetIndex().LogExportedResource(request.asString(), remote);
       context.GetIndex().GetChildInstances(instances, request.asString());
     }
@@ -284,6 +285,7 @@
           return;
         }
 
+        LOG(INFO) << "Sending resource " << stripped << " to modality " << remote;
         context.GetIndex().LogExportedResource(stripped, remote);
        
         std::list<std::string> tmp;