Allow log closing and deletion to be tuned

Allow log closing and deletion to be tuned.

The housekeeping option is useful if you want to have multiple workers indexing data into ElasticSearch.