indexing result per record logged in debug mode instead of info

This commit is contained in:
Alessia Bardi 2020-09-07 15:45:26 +02:00
parent 832b95f064
commit 12c80713d7
1 changed files with 3 additions and 3 deletions

View File

@ -69,11 +69,11 @@ public class RunSPARQLQueryService {
final List<Integer> successCodesCount = Arrays.asList(new Integer(0));
final List<Integer> counter = Arrays.asList(new Integer(0));
recordIds.forEach(recordId -> {
log.info(recordId+" >");
log.debug(recordId+" >");
int operationResult = executeQueryGraph(selectQueryTemplate, recordId, isCollection);
log.info(" "+operationResult);
log.debug(" "+operationResult);
if (operationResult!=200) {
log.error(recordId + " error_code: "+ Integer.toString(operationResult));
log.error(recordId + " error_code: "+ operationResult);
int currentErrorsCount = errorCodesCount.get(0).intValue();
currentErrorsCount+=1;
errorCodesCount.set(0, new Integer(currentErrorsCount));