Add tuning options.

 * close_after_days - after how many days are logs closed.
 * delete_after_days - after how many days logs are deleted.
 * housekeeping - disable log deletion, useful if you have another process
   doing the deletion.