Revision 49888
Added by Alessia Bardi over 6 years ago
modules/dnet-download-service/trunk/src/main/java/eu/dnetlib/data/download/rmi/DownloadServiceFeeder.java | ||
---|---|---|
115 | 115 |
@Override |
116 | 116 |
public DownloadItem apply(final String input) { |
117 | 117 |
if (input == null) { |
118 |
log.error("Input is null");
|
|
118 |
log.debug("Input is null");
|
|
119 | 119 |
return null; |
120 | 120 |
} |
121 | 121 |
if (input.equals(DownloadServiceImpl.END_QUEUE_STRING)) return DownloadServiceImpl.END_QUEUE; |
... | ... | |
131 | 131 |
return di; |
132 | 132 |
} catch (Throwable e) { |
133 | 133 |
reportException(pluginReport, di, e); |
134 |
log.error("Exception on transform item :" + input, e);
|
|
134 |
log.debug("Exception on transform item :" + input, e);
|
|
135 | 135 |
return null; |
136 | 136 |
} |
137 | 137 |
} |
modules/dnet-download-service/trunk/src/main/java/eu/dnetlib/data/download/worker/DownloadWorker.java | ||
---|---|---|
120 | 120 |
log.debug(threadId + ": Reading " + takedObject); |
121 | 121 |
|
122 | 122 |
if (di == null) { |
123 |
log.info("the current download item is Null, skipping");
|
|
123 |
log.debug("the current download item is Null, skipping");
|
|
124 | 124 |
DownloadServiceFeeder.reportException(report, null, new IllegalArgumentException("found null DownloadItem")); |
125 | 125 |
} else if (StringUtils.isNotBlank(di.getUrl()) && !checkIfExists(di)) { |
126 | 126 |
doDownload(threadId, report, di); |
Also available in: Unified diff
Cleanup logs for full-text download