indexing result per record logged in debug mode instead of info
This commit is contained in:
parent
832b95f064
commit
12c80713d7
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue