Project

General

Profile

« Previous | Next » 

Revision 58603

Log more at the debug level instead of the info level

View differences:

modules/dnet-collector-plugins/trunk/src/main/java/eu/dnetlib/data/collector/plugins/rest/RestIterator.java
213 213
		synchronized (recordQueue) {
214 214
			while (recordQueue.isEmpty() && !query.isEmpty()) {
215 215
				try {
216
					log.info("get Query: " + query);
216
					log.debug("get Query: " + query);
217 217
					query = downloadPage(query);
218 218
					log.debug("next queryURL from downloadPage(): " + query);
219 219
				} catch (CollectorServiceException e) {
......
323 323
					resultTotal = resumptionInt + 1;
324 324
					if (nodeList != null) { discoverResultSize += nodeList.getLength(); }
325 325
				}
326
				log.info("discoverResultSize:  " + discoverResultSize);
326
				log.debug("discoverResultSize:  " + discoverResultSize);
327 327
				break;
328 328

  
329 329
			case "pagination":
......
378 378
			log.error(e);
379 379
			throw new IllegalStateException("downloadPage resultTotal couldn't parse: " + e.getMessage());
380 380
		}
381
		log.info("resultTotal: " + resultTotal);
382
		log.info("resInt: " + resumptionInt);
381
		log.debug("resultTotal: " + resultTotal);
382
		log.debug("resInt: " + resumptionInt);
383 383
		if (resumptionInt <= resultTotal) {
384 384
			nextQuery = baseUrl + "?" + queryParams + querySize + "&" + resumptionParam + "=" + resumptionStr + queryFormat;
385 385
		} else {

Also available in: Unified diff