mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-08-26 16:36:37 +00:00
Fix error log reporting of batch size for trough crawl logs
This commit is contained in:
@@ -280,9 +280,8 @@ public class TroughCrawlLogFeed extends Processor implements Lifecycle {
|
||||
try {
|
||||
troughClient().write(getSegmentId(), sqlTmpl.toString(), flattenedValues);
|
||||
} catch (Exception e) {
|
||||
logger.log(Level.WARNING, "problem posting batch of " + flattenedValues.length + " crawled urls to trough segment " + getSegmentId(), e);
|
||||
logger.log(Level.WARNING, "problem posting batch of " + (flattenedValues.length/16) + " crawled urls to trough segment " + getSegmentId(), e);
|
||||
}
|
||||
|
||||
crawledBatchLastTime = System.currentTimeMillis();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user