add logging gap filter