Commit 7562cfd1 authored by Niels Erik G. Nielsen's avatar Niels Erik G. Nielsen
Browse files

More logging.

parent 1d1852db
......@@ -49,9 +49,13 @@ public class RecordStorageConsumer implements MessageConsumer {
if (record.isDeleted()) {
recordStorage.delete(record);
} else {
if (added>=7000)
logger.debug("Adding " + (added+1));
recordStorage.add(record);
if (++added % 1000 == 0)
logger.info("Fetched " + added + " records.");
if (added>7000)
logger.debug("Record# " + added);
}
} catch (RuntimeException ioe) {
String msg = "Failed to add record." + record;
......
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