Commit d9ae8c62 authored by Steinberg, Jan's avatar Steinberg, Jan

econstor import optimizations, some additional logging etc.

parent 1cc5b101
......@@ -29,6 +29,7 @@ public class Wzb2SsoarBundleFilter implements BundleFilter {
int yearIssuedValue = Integer.parseInt(yearIssuedValueString);
if ( yearIssuedValue >= 2016 ) {
LOG.info("'{}' is newer than 2016", yearIssuedValueString);
result = true;
}
else {
......
......@@ -258,10 +258,10 @@ public class XsltTransformerOaiPmhBundlesStreamSource implements BundlesStreamSo
if (null != errorCode) {
if ("filteraway".equals(errorCode)) {
LOG.info("1- filtering away oaiPmhIdentifier={}", oaiPmhIdentifier);
LOG.info("ErrorCode={}", errorCode);
LOG.info("Error detail: {}", e.getCause().getLocalizedMessage());
resultBundle = null;
// test if this break is really necessary, taken out. STJ
// break;
break;
} else {
LOG.warn("2- fatalError. Filtering away oaiPmhIdentifier=" + oaiPmhIdentifier, e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment