Add filter to logs