[PATCH v3 3/5] logging: add configuration for future log cleaner