fixed log

This commit is contained in:
Alessia Bardi 2020-09-07 15:00:09 +02:00
parent f1e3de1b07
commit 19ebb63d88
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ public class GraphDBClient {
recordsIndexReport = runSPQRLQuery.executeMultipleQueryGraph(queryTemplate, recordIds, datasource, collectionId, false);
}
List<String> collectionResourceIds = runSPQRLQuery.selectCollectionIds(datasource, collectionId);
log.info(String.format("Found %d collections to index for datasource %s - %s", recordIds.size(), datasource, collectionId));
log.info(String.format("Found %d collections to index for datasource %s - %s", collectionResourceIds.size(), datasource, collectionId));
if(!collectionResourceIds.isEmpty()) {
final ClassPathResource selectCollectionTemplateRes = new ClassPathResource("eu/dnetlib/ariadneplus/sparql/read_collection_data_template.sparql");
String selectCollectionTemplate = IOUtils.toString(selectCollectionTemplateRes.getInputStream(), StandardCharsets.UTF_8.name());