[PATCH v2 4/5] logging: add log cleanup for obsolete domains