Add filter to logger