Old logs should be cleaned from time to time. 3 options will be introduced for that purpose:
- max_days N — keep records not older than N days;
- max_size M — store not more than M GBs of records;
- max_days N + max_size M — if both options are in use, both limits (in days and GBs) should be always applied.