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