diff OrthancServer/Sources/OrthancGetRequestHandler.cpp @ 4268:0ae2ca210077

new macro TLOG() to replace VLOG() for trace logs with a category
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Nov 2020 14:48:15 +0100
parents 6f5d4bfb2c90
children c7bd2f21ccc3
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancGetRequestHandler.cpp	Sun Nov 01 12:43:18 2020 +0100
+++ b/OrthancServer/Sources/OrthancGetRequestHandler.cpp	Mon Nov 02 14:48:15 2020 +0100
@@ -151,8 +151,8 @@
         if (pc->result == ASC_P_ACCEPTANCE &&
             LookupTransferSyntax(transferSyntax, pc->acceptedTransferSyntax))
         {
-          VLOG(0) << "C-GET SCP accepted: SOP class " << sopClassUid
-                  << " with transfer syntax " << GetTransferSyntaxUid(transferSyntax);
+          TLOG(DICOM) << "C-GET SCP accepted: SOP class " << sopClassUid
+                      << " with transfer syntax " << GetTransferSyntaxUid(transferSyntax);
           if (std::string(pc->abstractSyntax) == sopClassUid)
           {
             accepted[transferSyntax] = pc->presentationContextID;