Project

General

Profile

« Previous | Next » 

Revision 31441

removing redundant logging

View differences:

modules/icm-iis-import/trunk/src/main/java/eu/dnetlib/iis/importer/dataset/DataciteDumpXmlHandler.java
69 69
	private String resourceTypeClass = null;
70 70
	private String resourceTypeValue = null;
71 71
	
72
	private int counter = 0;
73
	
74 72
	private final RecordReceiver<DataSetReference> receiver;
75 73
	
76 74
	private final String mainIdFieldName;
......
217 215
						dataSetRefBuilder.setResourceTypeValue(this.resourceTypeValue);
218 216
					}
219 217
					receiver.receive(dataSetRefBuilder.build());
220
					counter++;
221
					if (counter%100000==0) {
222
						log.debug("current progress: " + counter);
223
					}
224 218
				} catch (IOException e) {
225 219
					throw new SAXException(e);
226 220
				}

Also available in: Unified diff