diff OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 4272:1661544ea94d

LogCategory_REST
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Nov 2020 07:19:33 +0100
parents d962a2996637
children 0923247e69f6
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp	Tue Nov 03 07:15:44 2020 +0100
+++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp	Tue Nov 03 07:19:33 2020 +0100
@@ -1351,12 +1351,12 @@
 
     if (ok)
     {
-      LOG(INFO) << "The attachment " << name << " of resource " << publicId << " has the right MD5";
+      CLOG(INFO, REST) << "The attachment " << name << " of resource " << publicId << " has the right MD5";
       call.GetOutput().AnswerBuffer("{}", MimeType_Json);
     }
     else
     {
-      LOG(INFO) << "The attachment " << name << " of resource " << publicId << " has bad MD5!";
+      CLOG(INFO, REST) << "The attachment " << name << " of resource " << publicId << " has bad MD5!";
     }
   }