Project

General

Profile

« Previous | Next » 

Revision 61259

Added by Andreas Czerniak almost 3 years ago

enhance logging for generic approach

View differences:

modules/dnet-collector-plugins/trunk/src/main/java/eu/dnetlib/data/collector/plugins/rest/RestIterator.java
263 263
                    if (resultSizeValue < 2) {
264 264
                        throw new CollectorServiceException("Mode: discover, Param 'resultSizeValue' is less than 2");
265 265
                    }
266
                    log.debug("RestIterator.downloadPage/discover:: resumptionInt="+Integer.toString(resumptionInt)+"; ");
267
                    log.debug("RestIterator.downloadPage/discover:: nodeList.length=" + nodeList.getLength());
266 268
                    qUrlArgument = qUrl.getQuery();
267 269
                    String[] arrayQUrlArgument = qUrlArgument.split("&");
268 270
                    for (String arrayUrlArgStr : arrayQUrlArgument) {
271
                        log.debug("RestIterator.downloadPage/discover:: "+arrayUrlArgStr);
269 272
                        if (arrayUrlArgStr.startsWith(resumptionParam)) {
270 273
                            String[] resumptionKeyValue = arrayUrlArgStr.split("=");
271 274
                            if (isInteger(resumptionKeyValue[1])) {

Also available in: Unified diff