comparison OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 4294:0923247e69f6

log categories: rest -> http + added lua & jobs
author Alain Mazy <alain@mazy.be>
date Thu, 05 Nov 2020 11:43:32 +0100
parents 1661544ea94d
children a01b1c9cbef4
comparison
equal deleted inserted replaced
4293:29729b7eb6ab 4294:0923247e69f6
1349 } 1349 }
1350 } 1350 }
1351 1351
1352 if (ok) 1352 if (ok)
1353 { 1353 {
1354 CLOG(INFO, REST) << "The attachment " << name << " of resource " << publicId << " has the right MD5"; 1354 CLOG(INFO, HTTP) << "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 CLOG(INFO, REST) << "The attachment " << name << " of resource " << publicId << " has bad MD5!"; 1359 CLOG(INFO, HTTP) << "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)