Filter certain kind of errors when running from Azure Pipeline

When I execute my tests, I see a lot of WARN messages in the logs. Is there a way I can make these messages not appear when tests run on pipeline?