Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
4271:1bd14c900699 | 4272:1661544ea94d |
---|---|
1349 } | 1349 } |
1350 } | 1350 } |
1351 | 1351 |
1352 if (ok) | 1352 if (ok) |
1353 { | 1353 { |
1354 LOG(INFO) << "The attachment " << name << " of resource " << publicId << " has the right MD5"; | 1354 CLOG(INFO, REST) << "The attachment " << name << " of resource " << publicId << " has the right MD5"; |
1355 call.GetOutput().AnswerBuffer("{}", MimeType_Json); | 1355 call.GetOutput().AnswerBuffer("{}", MimeType_Json); |
1356 } | 1356 } |
1357 else | 1357 else |
1358 { | 1358 { |
1359 LOG(INFO) << "The attachment " << name << " of resource " << publicId << " has bad MD5!"; | 1359 CLOG(INFO, REST) << "The attachment " << name << " of resource " << publicId << " has bad MD5!"; |
1360 } | 1360 } |
1361 } | 1361 } |
1362 | 1362 |
1363 | 1363 |
1364 static void UploadAttachment(RestApiPutCall& call) | 1364 static void UploadAttachment(RestApiPutCall& call) |