Customize number of logs and records to keep with UpdateLog

Patch for SOLR-6359